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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009715, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 180.7 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3478/0.3478, allocations: 43.57 MB / 315 MB, free: 8.828 MB / 254.1 MB 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.0007854/0.0007854, allocations: 16 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1238, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001917/0.1257, allocations: 1.273 MB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.126, allocations: 63.73 kB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.1261, allocations: 0 / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1262, allocations: 3.938 kB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.1262, allocations: 4 kB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.1264, allocations: 15.98 kB / 444.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.1265, allocations: 35.84 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1266, allocations: 16.28 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.1267, allocations: 11.92 kB / 445 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1267, allocations: 7.938 kB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1268, allocations: 4 kB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.1268, allocations: 0 / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.1268, allocations: 7.922 kB / 445 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.1269, allocations: 37.64 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.724e-05/0.127, allocations: 35.77 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.127, allocations: 3.984 kB / 445.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.127, allocations: 0 / 445.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.127, allocations: 0 / 445.1 MB, free: 11.05 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.0004839/0.1275, allocations: 343.4 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1275, allocations: 8.031 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.503e-05/0.1276, allocations: 42.73 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.1276, allocations: 0.9375 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1278, allocations: 188.2 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1279, allocations: 384 / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1279, allocations: 4.375 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1281, allocations: 72.83 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.1281, allocations: 3.938 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1281, allocations: 0 / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1282, allocations: 0 / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1283, allocations: 31.91 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.1288, allocations: 465.1 kB / 446.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.129, allocations: 42.5 kB / 446.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.1291, allocations: 28.94 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.1292, allocations: 7.922 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1292, allocations: 30.56 kB / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1292, allocations: 0 / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004774/0.1297, allocations: 109.5 kB / 446.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1297, allocations: 55.41 kB / 446.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.1298, allocations: 121.7 kB / 446.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1298, allocations: 25.7 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.13, allocations: 96.02 kB / 446.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.13, allocations: 7.812 kB / 446.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.13, allocations: 21.7 kB / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1301, allocations: 322.8 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.1302, allocations: 15.98 kB / 447.1 MB, free: 8.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/0.1303, allocations: 47.36 kB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1304, allocations: 59.42 kB / 447.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1304, allocations: 0 / 447.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001644/0.1306, allocations: 93.45 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1306, allocations: 4 kB / 447.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1306, allocations: 96 / 447.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1306, allocations: 8 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.1307, allocations: 8 kB / 447.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1307, allocations: 4 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.1308, allocations: 3.984 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1308, allocations: 4 kB / 447.3 MB, free: 8.547 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 8.834e-05/0.1309, allocations: 121.7 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1309, allocations: 7.906 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.1309, allocations: 7.906 kB / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1309, allocations: 4 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.131, allocations: 0 / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.131, allocations: 0 / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1312, allocations: 173.6 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1312, allocations: 0 / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.1312, allocations: 11.98 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1313, allocations: 384 / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1313, allocations: 0 / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1313, allocations: 0 / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1313, allocations: 4 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1315, allocations: 195.3 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.1316, allocations: 81.02 kB / 447.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1316, allocations: 432 / 447.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.1317, allocations: 4.031 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1317, allocations: 8.047 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1317, allocations: 4 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.1318, allocations: 87.28 kB / 448 MB, free: 7.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1318, allocations: 3.938 kB / 448 MB, free: 7.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.132, allocations: 11.94 kB / 448 MB, free: 7.742 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.000702/0.1327, allocations: 0.7124 MB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.1328, allocations: 47.91 kB / 448.7 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1329, allocations: 0 / 448.7 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.1329, allocations: 20.19 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1332, allocations: 19.98 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1349, allocations: 1.402 MB / 450.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1352, allocations: 0.6848 MB / 450.9 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.1353, allocations: 8 kB / 450.9 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.1353, allocations: 15.44 kB / 450.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1354, allocations: 0 / 450.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.1486, allocations: 1.327 MB / 452.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.1488, allocations: 190.3 kB / 452.4 MB, free: 3.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.917, allocations: 4.062 kB / 452.4 MB, free: 3.129 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches