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: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007928/0.0007927, allocations: 96.47 kB / 16.02 MB, free: 84 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.0009937/0.0009937, allocations: 180.7 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.5646/0.5646, allocations: 43.57 MB / 315 MB, free: 8.797 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.0005231/0.0005233, allocations: 16.56 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001803/0.1533, allocations: 1.261 MB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002239/0.1536, allocations: 59.75 kB / 444.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.1537, allocations: 0 / 444.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.731e-05/0.1537, allocations: 7.922 kB / 444.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.627e-05/0.1538, allocations: 7.938 kB / 444.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.649e-05/0.1539, allocations: 27.97 kB / 444.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.154, allocations: 27.92 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.154, allocations: 12 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1541, allocations: 7.938 kB / 444.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.1541, allocations: 11.92 kB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1541, allocations: 4 kB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-06/0.1541, allocations: 0 / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.1542, allocations: 3.938 kB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.1542, allocations: 45.56 kB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.829e-05/0.1543, allocations: 40.05 kB / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1543, allocations: 0 / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1543, allocations: 0 / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1543, allocations: 0 / 445 MB, free: 11.16 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.0004603/0.1548, allocations: 343.4 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1548, allocations: 8.031 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.1549, allocations: 4.938 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1551, allocations: 176.2 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1551, allocations: 12.38 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1551, allocations: 384 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1553, allocations: 76.75 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1553, allocations: 4.188 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1554, allocations: 7.938 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1554, allocations: 0 / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1555, allocations: 27.98 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.1561, allocations: 453.1 kB / 446 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1563, allocations: 50.56 kB / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.1563, allocations: 16.94 kB / 446.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1564, allocations: 3.938 kB / 446.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1564, allocations: 38.56 kB / 446.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1564, allocations: 0 / 446.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005368/0.157, allocations: 109.8 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.157, allocations: 55.34 kB / 446.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1571, allocations: 121.8 kB / 446.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1572, allocations: 25.7 kB / 446.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.1572, allocations: 95.98 kB / 446.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1573, allocations: 19.8 kB / 446.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.1573, allocations: 17.66 kB / 446.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1575, allocations: 322.8 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.1576, allocations: 12 kB / 446.9 MB, free: 8.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.1576, allocations: 39.42 kB / 447 MB, free: 8.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1578, allocations: 71.39 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1578, allocations: 4 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001829/0.158, allocations: 89.55 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.158, allocations: 8 kB / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.158, allocations: 0 / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.158, allocations: 0 / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.1581, allocations: 19.92 kB / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1581, allocations: 0 / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.1582, allocations: 4 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1582, allocations: 4 kB / 447.1 MB, free: 8.695 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 0.0001137/0.1583, allocations: 121.8 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.1583, allocations: 0 / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1584, allocations: 15.89 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1584, allocations: 0 / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1584, allocations: 0 / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1584, allocations: 0 / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1586, allocations: 169.6 kB / 447.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1586, allocations: 0 / 447.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.1587, allocations: 15.98 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1587, allocations: 0 / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.1587, allocations: 7.938 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1587, allocations: 0 / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1587, allocations: 0 / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.159, allocations: 183.4 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1591, allocations: 85.05 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1591, allocations: 8.047 kB / 447.7 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.1592, allocations: 4.375 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1592, allocations: 0 / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1592, allocations: 0 / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.1593, allocations: 95.2 kB / 447.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1593, allocations: 0 / 447.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.1595, allocations: 8 kB / 447.8 MB, free: 7.902 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.0001476/0.1597, allocations: 115 kB / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1598, allocations: 43.97 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1599, allocations: 0 / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.1599, allocations: 19.94 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1603, allocations: 15.98 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.1608, allocations: 181 kB / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1611, allocations: 0.6848 MB / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.1612, allocations: 4 kB / 448.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.1612, allocations: 7.438 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1612, allocations: 0 / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of Templates: time 0.002865/0.1641, allocations: 457.4 kB / 449.4 MB, free: 6.332 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/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