Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 112.4 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 192.7 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 227.9 MB, free: 4.336 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3564/0.3564, allocations: 43.51 MB / 320.8 MB, free: 8.992 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 71.89 kB / 450 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3088, allocations: 57.78 MB / 0.4959 GB, free: 19.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002373/0.3112, allocations: 1.549 MB / 0.4974 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.3114, allocations: 62.67 kB / 0.4975 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.3115, allocations: 1.219 kB / 0.4975 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3116, allocations: 7.938 kB / 0.4975 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.323e-05/0.3117, allocations: 9.016 kB / 0.4975 GB, free: 18.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.3118, allocations: 24.09 kB / 0.4975 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3119, allocations: 30.14 kB / 0.4975 GB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.312, allocations: 17.72 kB / 0.4975 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.312, allocations: 12 kB / 0.4976 GB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.3121, allocations: 16.2 kB / 0.4976 GB, free: 17.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3121, allocations: 3.062 kB / 0.4976 GB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.3121, allocations: 2.438 kB / 0.4976 GB, free: 17.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.3122, allocations: 13.25 kB / 0.4976 GB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.3122, allocations: 20.11 kB / 0.4976 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3123, allocations: 36.05 kB / 0.4976 GB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3123, allocations: 1.75 kB / 0.4976 GB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3123, allocations: 0 / 0.4976 GB, free: 17.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3123, allocations: 0 / 0.4976 GB, free: 17.94 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003762/0.3127, allocations: 350.8 kB / 0.498 GB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3128, allocations: 13.36 kB / 0.498 GB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.3128, allocations: 36.19 kB / 0.498 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.3128, allocations: 11.58 kB / 0.498 GB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.313, allocations: 182.8 kB / 0.4982 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3131, allocations: 5.5 kB / 0.4982 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3131, allocations: 3.031 kB / 0.4982 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3133, allocations: 82.42 kB / 0.4983 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3133, allocations: 3.938 kB / 0.4983 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3133, allocations: 4 kB / 0.4983 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3133, allocations: 1.375 kB / 0.4983 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.3134, allocations: 26.11 kB / 0.4983 GB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.3138, allocations: 440.4 kB / 0.4988 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3139, allocations: 46.91 kB / 0.4988 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.314, allocations: 15.56 kB / 0.4988 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.314, allocations: 0 / 0.4988 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.314, allocations: 40 kB / 0.4989 GB, free: 16.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.314, allocations: 0 / 0.4989 GB, free: 16.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004225/0.3144, allocations: 107.1 kB / 0.499 GB, free: 16.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.3145, allocations: 56.84 kB / 0.499 GB, free: 16.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.3145, allocations: 114.3 kB / 0.4991 GB, free: 16.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.3146, allocations: 25.7 kB / 0.4991 GB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.3146, allocations: 94.78 kB / 0.4992 GB, free: 16.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.3146, allocations: 15.86 kB / 0.4993 GB, free: 16.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.3146, allocations: 17.31 kB / 0.4993 GB, free: 16.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.3147, allocations: 323.7 kB / 0.4996 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.3147, allocations: 16.31 kB / 0.4996 GB, free: 15.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.3148, allocations: 39.11 kB / 0.4996 GB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.3149, allocations: 63.17 kB / 0.4997 GB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3149, allocations: 0 / 0.4997 GB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001409/0.3151, allocations: 81.56 kB / 0.4998 GB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3151, allocations: 4.844 kB / 0.4998 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3151, allocations: 1.469 kB / 0.4998 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3151, allocations: 2.062 kB / 0.4998 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.3152, allocations: 17.61 kB / 0.4998 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3152, allocations: 1.344 kB / 0.4998 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.3152, allocations: 10.25 kB / 0.4998 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3152, allocations: 3.281 kB / 0.4998 GB, free: 15.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.3153, allocations: 120.1 kB / 0.4999 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3153, allocations: 11.31 kB / 0.4999 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.3153, allocations: 5.125 kB / 0.4999 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3154, allocations: 0 / 0.4999 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3154, allocations: 9.031 kB / 0.4999 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3154, allocations: 384 / 0.4999 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.3155, allocations: 170.2 kB / 0.5001 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3155, allocations: 1.25 kB / 0.5001 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.3156, allocations: 16.61 kB / 0.5001 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3156, allocations: 3.938 kB / 0.5001 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3156, allocations: 5.312 kB / 0.5001 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3156, allocations: 0 / 0.5001 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3156, allocations: 3.938 kB / 0.5001 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3158, allocations: 170.9 kB / 0.5003 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.3159, allocations: 86.16 kB / 0.5004 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3159, allocations: 5.047 kB / 0.5004 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.3159, allocations: 2.188 kB / 0.5004 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.316, allocations: 5.188 kB / 0.5004 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.316, allocations: 1.062 kB / 0.5004 GB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.061e-05/0.316, allocations: 91.73 kB / 0.5005 GB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.316, allocations: 0 / 0.5005 GB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3163, allocations: 9.75 kB / 0.5005 GB, free: 15.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003255/0.3166, allocations: 0.7119 MB / 0.5012 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.3167, allocations: 36.2 kB / 0.5012 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3168, allocations: 0 / 0.5012 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.3168, allocations: 18.55 kB / 0.5012 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3171, allocations: 12.88 kB / 0.5013 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3182, allocations: 1.377 MB / 0.5026 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.864e-05/0.3183, allocations: 0.6868 MB / 0.5033 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.314e-05/0.3183, allocations: 6.297 kB / 0.5033 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.3184, allocations: 13.72 kB / 0.5033 GB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3184, allocations: 0 / 0.5033 GB, free: 12.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3419, allocations: 1.576 MB / 0.5048 GB, free: 11.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.447, allocations: 1.125 kB / 0.5048 GB, free: 11.27 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.347983263083734]