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: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001485, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001692/0.001692, allocations: 194 kB / 18.77 MB, free: 4.742 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.36/1.36, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2007/0.2007, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.44 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1258, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002782/0.1286, allocations: 1.604 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002097/0.1288, allocations: 59.78 kB / 470.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.1289, allocations: 4 kB / 470.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.129, allocations: 3.938 kB / 470.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.368e-05/0.1291, allocations: 0 / 470.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.1292, allocations: 19.92 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.1293, allocations: 31.92 kB / 470.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1294, allocations: 12 kB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.1295, allocations: 15.92 kB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.1295, allocations: 11.88 kB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1296, allocations: 0 / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.1296, allocations: 4 kB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.1296, allocations: 11.97 kB / 471 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.1296, allocations: 15.88 kB / 471 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.301e-05/0.1297, allocations: 24.25 kB / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1297, allocations: 0 / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1297, allocations: 0 / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1297, allocations: 4 kB / 471 MB, free: 12.98 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.0004622/0.1302, allocations: 347.4 kB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1303, allocations: 8.031 kB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.1303, allocations: 12.78 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1305, allocations: 176.2 kB / 471.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1305, allocations: 8.375 kB / 471.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1305, allocations: 384 / 471.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1307, allocations: 80.8 kB / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1307, allocations: 192 / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1307, allocations: 3.938 kB / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1307, allocations: 0 / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.1308, allocations: 27.92 kB / 471.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.1313, allocations: 445.2 kB / 472.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1315, allocations: 46.55 kB / 472.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.1315, allocations: 8.859 kB / 472.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.1316, allocations: 0 / 472.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1316, allocations: 42.56 kB / 472.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.1316, allocations: 3.984 kB / 472.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004516/0.1321, allocations: 105.5 kB / 472.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1321, allocations: 51.41 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.1322, allocations: 121.8 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1322, allocations: 25.7 kB / 472.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.1323, allocations: 95.92 kB / 472.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1323, allocations: 19.8 kB / 472.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1323, allocations: 17.72 kB / 472.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1325, allocations: 322.8 kB / 472.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.1325, allocations: 19.94 kB / 472.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.1326, allocations: 35.42 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1327, allocations: 63.36 kB / 473 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1327, allocations: 0 / 473 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001554/0.1329, allocations: 81.52 kB / 473.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1329, allocations: 10.5 kB / 473.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1329, allocations: 0 / 473.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1329, allocations: 4.094 kB / 473.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.133, allocations: 15.98 kB / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.133, allocations: 160 / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.133, allocations: 11.94 kB / 473.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.1331, allocations: 0 / 473.2 MB, free: 10.55 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 9.011e-05/0.1331, allocations: 121.8 kB / 473.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1332, allocations: 4 kB / 473.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.1332, allocations: 3.906 kB / 473.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1332, allocations: 0 / 473.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1332, allocations: 4 kB / 473.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1332, allocations: 0 / 473.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1334, allocations: 177.6 kB / 473.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1334, allocations: 0 / 473.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.1335, allocations: 11.98 kB / 473.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1335, allocations: 0 / 473.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1335, allocations: 4 kB / 473.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1335, allocations: 7.984 kB / 473.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1335, allocations: 4 kB / 473.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1338, allocations: 179.3 kB / 473.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.1338, allocations: 85.5 kB / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1339, allocations: 0 / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.1339, allocations: 0 / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.134, allocations: 8.422 kB / 473.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.134, allocations: 3.938 kB / 473.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.134, allocations: 91.27 kB / 473.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.134, allocations: 8 kB / 473.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1343, allocations: 8 kB / 473.9 MB, free: 9.754 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 9.455e-05/0.1344, allocations: 95.72 kB / 474 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1345, allocations: 43.89 kB / 474 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1345, allocations: 0 / 474 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.1346, allocations: 16 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1349, allocations: 7.984 kB / 474 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.1354, allocations: 206.1 kB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.1357, allocations: 0.6913 MB / 474.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.1357, allocations: 7.438 kB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1357, allocations: 0 / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Templates: time 0.002238/0.138, allocations: 0.775 MB / 475.7 MB, free: 7.852 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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