Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2299/0.2299, allocations: 46.89 MB / 358.1 MB, free: 10.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 81.23 kB / 0.4923 GB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1408, allocations: 65.98 MB / 0.5568 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003/0.1438, allocations: 1.566 MB / 0.5583 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.1441, allocations: 67.78 kB / 0.5584 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.1442, allocations: 0 / 0.5584 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1443, allocations: 15.86 kB / 0.5584 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.1443, allocations: 7.922 kB / 0.5584 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.1444, allocations: 15.98 kB / 0.5584 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1446, allocations: 39.86 kB / 0.5585 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.1447, allocations: 3.984 kB / 0.5585 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.1447, allocations: 15.94 kB / 0.5585 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.1448, allocations: 15.92 kB / 0.5585 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1448, allocations: 4 kB / 0.5585 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1448, allocations: 7.938 kB / 0.5585 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.1448, allocations: 7.984 kB / 0.5585 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1449, allocations: 19.86 kB / 0.5585 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.145, allocations: 35.78 kB / 0.5586 GB, free: 6.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.145, allocations: 0 / 0.5586 GB, free: 6.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.145, allocations: 0 / 0.5586 GB, free: 6.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.145, allocations: 4 kB / 0.5586 GB, free: 6.938 MB / 414.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.0005206/0.1455, allocations: 355.3 kB / 0.5589 GB, free: 6.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1455, allocations: 12.03 kB / 0.5589 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.1456, allocations: 8.891 kB / 0.5589 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1458, allocations: 176.3 kB / 0.5591 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1458, allocations: 4.375 kB / 0.5591 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1459, allocations: 384 / 0.5591 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.146, allocations: 72.81 kB / 0.5592 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.146, allocations: 8.125 kB / 0.5592 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.146, allocations: 3.938 kB / 0.5592 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1461, allocations: 0 / 0.5592 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.1462, allocations: 23.98 kB / 0.5592 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.1467, allocations: 453.1 kB / 0.5596 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1469, allocations: 42.56 kB / 0.5597 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.1469, allocations: 12.86 kB / 0.5597 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.147, allocations: 0 / 0.5597 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.147, allocations: 38.64 kB / 0.5597 GB, free: 5.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.147, allocations: 0 / 0.5597 GB, free: 5.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004844/0.1475, allocations: 105.5 kB / 0.5598 GB, free: 5.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1475, allocations: 51.41 kB / 0.5599 GB, free: 5.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.1476, allocations: 121.7 kB / 0.56 GB, free: 5.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1476, allocations: 33.69 kB / 0.56 GB, free: 5.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.1477, allocations: 88.09 kB / 0.5601 GB, free: 5.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1477, allocations: 19.89 kB / 0.5601 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1478, allocations: 21.7 kB / 0.5601 GB, free: 5.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1479, allocations: 318.8 kB / 0.5604 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.1479, allocations: 20.36 kB / 0.5605 GB, free: 4.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.148, allocations: 37.16 kB / 0.5605 GB, free: 4.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1481, allocations: 63.36 kB / 0.5606 GB, free: 4.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1481, allocations: 4 kB / 0.5606 GB, free: 4.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.1483, allocations: 93.77 kB / 0.5607 GB, free: 4.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1483, allocations: 8 kB / 0.5607 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1483, allocations: 160 / 0.5607 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1483, allocations: 0 / 0.5607 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.1484, allocations: 19.97 kB / 0.5607 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1484, allocations: 3.984 kB / 0.5607 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.1485, allocations: 12.08 kB / 0.5607 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1485, allocations: 4 kB / 0.5607 GB, free: 4.484 MB / 414.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.425e-05/0.1485, allocations: 113.8 kB / 0.5608 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1486, allocations: 7.953 kB / 0.5608 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.1486, allocations: 11.89 kB / 0.5608 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1486, allocations: 0 / 0.5608 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1486, allocations: 4 kB / 0.5608 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1486, allocations: 0 / 0.5608 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1488, allocations: 169.6 kB / 0.561 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1488, allocations: 4 kB / 0.561 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.1489, allocations: 8 kB / 0.561 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1489, allocations: 0 / 0.561 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1489, allocations: 7.984 kB / 0.561 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1489, allocations: 0 / 0.561 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1489, allocations: 0 / 0.561 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1492, allocations: 175.4 kB / 0.5612 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.1492, allocations: 85.12 kB / 0.5613 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1492, allocations: 7.984 kB / 0.5613 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.1493, allocations: 4 kB / 0.5613 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.1493, allocations: 0 / 0.5613 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1493, allocations: 0 / 0.5613 GB, free: 3.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.1494, allocations: 91.27 kB / 0.5614 GB, free: 3.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1494, allocations: 0 / 0.5614 GB, free: 3.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1496, allocations: 8 kB / 0.5614 GB, free: 3.703 MB / 414.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.0001024/0.1497, allocations: 99.19 kB / 0.5615 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1498, allocations: 39.91 kB / 0.5615 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1498, allocations: 0 / 0.5615 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.1499, allocations: 20.22 kB / 0.5615 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1502, allocations: 18.44 kB / 0.5615 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.1506, allocations: 183.4 kB / 0.5617 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1509, allocations: 0.6948 MB / 0.5624 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1509, allocations: 11.44 kB / 0.5624 GB, free: 2.582 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1509, allocations: 0 / 0.5624 GB, free: 2.582 MB / 414.1 MB Notification: Performance of Templates: time 0.00234/0.1533, allocations: 0.7655 MB / 0.5632 GB, free: 1.816 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.435413117986172]