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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 108.1 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.95 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003291/0.1176, allocations: 1.597 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.1179, allocations: 63.8 kB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.118, allocations: 0 / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1181, allocations: 7.922 kB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.1182, allocations: 4 kB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.1183, allocations: 19.92 kB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1184, allocations: 31.92 kB / 470.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1185, allocations: 15.98 kB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.1186, allocations: 11.94 kB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.1186, allocations: 19.86 kB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1186, allocations: 0 / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.1187, allocations: 0 / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.1187, allocations: 4 kB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.1187, allocations: 23.8 kB / 470.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.576e-05/0.1188, allocations: 32.11 kB / 470.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1188, allocations: 4 kB / 470.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1188, allocations: 0 / 470.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1188, allocations: 4 kB / 470.5 MB, free: 12.9 MB / 350.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.0004282/0.1193, allocations: 343.5 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1193, allocations: 8.031 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.1194, allocations: 38.69 kB / 470.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.1194, allocations: 8.844 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1197, allocations: 180.2 kB / 471 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1197, allocations: 4.375 kB / 471 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1197, allocations: 8.359 kB / 471 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1199, allocations: 68.83 kB / 471.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1199, allocations: 7.875 kB / 471.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.1199, allocations: 0 / 471.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1199, allocations: 0 / 471.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.401e-05/0.12, allocations: 23.98 kB / 471.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.1205, allocations: 449.2 kB / 471.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1207, allocations: 46.5 kB / 471.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1208, allocations: 12.86 kB / 471.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1208, allocations: 0 / 471.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1208, allocations: 38.56 kB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1208, allocations: 0 / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004771/0.1213, allocations: 113.8 kB / 471.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1214, allocations: 55.41 kB / 471.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.1214, allocations: 113.8 kB / 471.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1215, allocations: 25.7 kB / 472 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1215, allocations: 103.9 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.1216, allocations: 15.8 kB / 472.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1216, allocations: 17.72 kB / 472.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1217, allocations: 326.8 kB / 472.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.1218, allocations: 12 kB / 472.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.1218, allocations: 35.8 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1219, allocations: 67.34 kB / 472.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.122, allocations: 0 / 472.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001623/0.1221, allocations: 77.53 kB / 472.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1222, allocations: 15.92 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1222, allocations: 4.094 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1222, allocations: 0 / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.1223, allocations: 12 kB / 472.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1223, allocations: 3.938 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.1223, allocations: 8 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1223, allocations: 7.984 kB / 472.7 MB, free: 10.42 MB / 350.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 7.731e-05/0.1224, allocations: 109.8 kB / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1225, allocations: 8 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.1225, allocations: 3.906 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1225, allocations: 4 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1225, allocations: 4 kB / 472.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1225, allocations: 0 / 472.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1227, allocations: 169.6 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1227, allocations: 0 / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.1228, allocations: 11.98 kB / 473 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1228, allocations: 0 / 473 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1228, allocations: 7.938 kB / 473 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1228, allocations: 4 kB / 473 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1228, allocations: 0 / 473 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1231, allocations: 179.3 kB / 473.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.1231, allocations: 89.03 kB / 473.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1231, allocations: 0 / 473.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.1232, allocations: 0 / 473.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1233, allocations: 4 kB / 473.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1233, allocations: 4 kB / 473.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.141e-05/0.1233, allocations: 91.33 kB / 473.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1233, allocations: 0 / 473.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1236, allocations: 15.94 kB / 473.4 MB, free: 9.633 MB / 350.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.0004928/0.1241, allocations: 0.7052 MB / 474.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1242, allocations: 40.16 kB / 474.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1242, allocations: 4.281 kB / 474.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.1243, allocations: 12.09 kB / 474.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1246, allocations: 18.52 kB / 474.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1261, allocations: 1.389 MB / 475.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1264, allocations: 0.6887 MB / 476.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.1264, allocations: 7.984 kB / 476.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1264, allocations: 19.44 kB / 476.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1264, allocations: 0 / 476.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.1387, allocations: 1.393 MB / 477.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.1389, allocations: 197.3 kB / 477.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.952, allocations: 0 / 477.8 MB, free: 5.027 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/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) Reference file matches