Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.91 MB / 358.8 MB, free: 6.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002862/0.3178, allocations: 1.576 MB / 0.5586 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002542/0.3181, allocations: 71.72 kB / 0.5586 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.3182, allocations: 4 kB / 0.5586 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.3183, allocations: 7.922 kB / 0.5586 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.3183, allocations: 7.938 kB / 0.5586 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3185, allocations: 27.84 kB / 0.5587 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3186, allocations: 35.86 kB / 0.5587 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.3187, allocations: 9.812 kB / 0.5587 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.3187, allocations: 15.94 kB / 0.5587 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.3188, allocations: 15.92 kB / 0.5587 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3188, allocations: 0 / 0.5587 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.3188, allocations: 4 kB / 0.5587 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.3188, allocations: 8 kB / 0.5588 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.3188, allocations: 19.86 kB / 0.5588 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.3189, allocations: 35.78 kB / 0.5588 GB, free: 5.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3189, allocations: 3.984 kB / 0.5588 GB, free: 5.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3189, allocations: 0 / 0.5588 GB, free: 5.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3189, allocations: 4 kB / 0.5588 GB, free: 5.914 MB / 398.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.0004351/0.3194, allocations: 266.2 kB / 0.5591 GB, free: 5.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3194, allocations: 8.031 kB / 0.5591 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.3195, allocations: 42.67 kB / 0.5591 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.3195, allocations: 12.89 kB / 0.5591 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3197, allocations: 122.5 kB / 0.5592 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3197, allocations: 384 / 0.5592 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3197, allocations: 4.375 kB / 0.5593 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3199, allocations: 68.81 kB / 0.5593 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3199, allocations: 3.938 kB / 0.5593 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3199, allocations: 4 kB / 0.5593 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3199, allocations: 7.938 kB / 0.5593 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.32, allocations: 19.98 kB / 0.5594 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.3205, allocations: 424.2 kB / 0.5598 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3207, allocations: 42.56 kB / 0.5598 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.3207, allocations: 16.94 kB / 0.5598 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3207, allocations: 4 kB / 0.5598 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3208, allocations: 30.56 kB / 0.5598 GB, free: 4.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3208, allocations: 0 / 0.5598 GB, free: 4.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004782/0.3212, allocations: 109.8 kB / 0.56 GB, free: 4.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.3213, allocations: 55.39 kB / 0.56 GB, free: 4.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.3214, allocations: 117.8 kB / 0.5601 GB, free: 4.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3214, allocations: 25.7 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.3215, allocations: 92.09 kB / 0.5602 GB, free: 4.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.3215, allocations: 19.77 kB / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.3215, allocations: 21.72 kB / 0.5603 GB, free: 4.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3216, allocations: 322.7 kB / 0.5606 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.3217, allocations: 19.98 kB / 0.5606 GB, free: 3.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.3218, allocations: 43.41 kB / 0.5606 GB, free: 3.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3219, allocations: 67.39 kB / 0.5607 GB, free: 3.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3219, allocations: 0 / 0.5607 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.3221, allocations: 81.56 kB / 0.5608 GB, free: 3.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3221, allocations: 4 kB / 0.5608 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3221, allocations: 4 kB / 0.5608 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3221, allocations: 0 / 0.5608 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.3222, allocations: 15.98 kB / 0.5608 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3222, allocations: 3.938 kB / 0.5608 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.3222, allocations: 8.094 kB / 0.5608 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3222, allocations: 4 kB / 0.5608 GB, free: 3.629 MB / 398.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 8.845e-05/0.3223, allocations: 121.8 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3223, allocations: 7.953 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.3224, allocations: 4 kB / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3224, allocations: 0 / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3224, allocations: 0 / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3224, allocations: 0 / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.3225, allocations: 144.7 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3225, allocations: 4 kB / 0.5611 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.051e-05/0.3226, allocations: 19.98 kB / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3226, allocations: 0 / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3226, allocations: 0 / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3226, allocations: 0 / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3226, allocations: 4 kB / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.3229, allocations: 175.4 kB / 0.5613 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.3229, allocations: 7.984 kB / 0.5613 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3229, allocations: 4.062 kB / 0.5613 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.323, allocations: 4 kB / 0.5613 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.323, allocations: 4 kB / 0.5613 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.323, allocations: 0 / 0.5613 GB, free: 3.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.323, allocations: 95.58 kB / 0.5614 GB, free: 2.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.323, allocations: 0 / 0.5614 GB, free: 2.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3233, allocations: 15.88 kB / 0.5614 GB, free: 2.953 MB / 398.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.0005159/0.3238, allocations: 0.7046 MB / 0.5621 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3239, allocations: 39.97 kB / 0.5621 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3239, allocations: 3.938 kB / 0.5621 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.324, allocations: 8 kB / 0.5621 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3243, allocations: 16.56 kB / 0.5622 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3257, allocations: 1.375 MB / 0.5635 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.326, allocations: 0.6846 MB / 0.5642 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.968e-05/0.3261, allocations: 7.984 kB / 0.5642 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.3261, allocations: 15.44 kB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3261, allocations: 0 / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.3539, allocations: 1.642 MB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.38, allocations: 13.61 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 14.44774568000139]