Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 211.4 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2418/0.2418, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 76.22 kB / 468.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1445, allocations: 61.04 MB / 0.5173 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001805/0.1463, allocations: 494.7 kB / 0.5178 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1501, allocations: 2.208 MB / 0.52 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.1501, allocations: 0 / 0.52 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.1501, allocations: 0 / 0.52 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1501, allocations: 0 / 0.52 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.1531, allocations: 1.148 MB / 0.5211 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.761e-05/0.1531, allocations: 7.938 kB / 0.5211 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1532, allocations: 3.938 kB / 0.5211 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.1532, allocations: 0 / 0.5211 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.466e-05/0.1532, allocations: 0 / 0.5211 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.1532, allocations: 0 / 0.5211 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.1548, allocations: 0.9326 MB / 0.522 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.1548, allocations: 0 / 0.522 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.1548, allocations: 7.984 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.1555, allocations: 415.2 kB / 0.5224 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.1555, allocations: 0 / 0.5224 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1555, allocations: 0 / 0.5224 GB, free: 1.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1555, allocations: 0 / 0.5224 GB, free: 1.492 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006933/0.1562, allocations: 355.3 kB / 0.5228 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.1562, allocations: 15.97 kB / 0.5228 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.1563, allocations: 0.9375 kB / 0.5228 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1564, allocations: 102.5 kB / 0.5229 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1565, allocations: 384 / 0.5229 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1565, allocations: 384 / 0.5229 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1566, allocations: 75.62 kB / 0.5229 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1567, allocations: 4 kB / 0.5229 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1567, allocations: 0 / 0.5229 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1567, allocations: 0 / 0.5229 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.1567, allocations: 29.7 kB / 0.523 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1569, allocations: 97.33 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.157, allocations: 48.25 kB / 0.5231 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.157, allocations: 34.56 kB / 0.5231 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.157, allocations: 0 / 0.5231 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/0.1571, allocations: 64.31 kB / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.1571, allocations: 0 / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003176/0.1574, allocations: 118.8 kB / 0.5233 GB, free: 404 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.1575, allocations: 85.05 kB / 0.5234 GB, free: 300 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.1576, allocations: 93.84 kB / 0.5235 GB, free: 196 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1576, allocations: 25.7 kB / 0.5235 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.1577, allocations: 84.14 kB / 0.5236 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1577, allocations: 3.984 kB / 0.5236 GB, free: 72 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1577, allocations: 9.719 kB / 0.5236 GB, free: 56 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1579, allocations: 314.8 kB / 0.5239 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.1579, allocations: 25.7 kB / 0.5239 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.158, allocations: 25.83 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.158, allocations: 68.33 kB / 0.524 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.158, allocations: 0 / 0.524 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.89e-05/0.1581, allocations: 89.09 kB / 0.5241 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.1582, allocations: 37.64 kB / 0.5241 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1582, allocations: 3.938 kB / 0.5242 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.1582, allocations: 3.938 kB / 0.5242 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.1582, allocations: 0 / 0.5242 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1582, allocations: 3.984 kB / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.1582, allocations: 0 / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1582, allocations: 8.016 kB / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001116/0.1583, allocations: 139.5 kB / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.1584, allocations: 0 / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.26e-05/0.1584, allocations: 6.938 kB / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1584, allocations: 0 / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1584, allocations: 4 kB / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1584, allocations: 3.938 kB / 0.5243 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/0.1585, allocations: 97.31 kB / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1585, allocations: 0 / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1585, allocations: 0 / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1585, allocations: 0 / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1585, allocations: 8 kB / 0.5244 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1585, allocations: 3.938 kB / 0.5244 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1585, allocations: 0 / 0.5244 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1586, allocations: 120.5 kB / 0.5245 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.1586, allocations: 0 / 0.5245 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1586, allocations: 0 / 0.5245 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.1586, allocations: 7.938 kB / 0.5245 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.1586, allocations: 0 / 0.5245 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1587, allocations: 4 kB / 0.5245 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.1587, allocations: 79.28 kB / 0.5246 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1587, allocations: 4.031 kB / 0.5246 GB, free: 14.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.1591, allocations: 143.6 kB / 0.5248 GB, free: 14.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007876/0.1599, allocations: 363.4 kB / 0.5251 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1601, allocations: 118.8 kB / 0.5252 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1601, allocations: 0 / 0.5252 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.1601, allocations: 85.05 kB / 0.5253 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1603, allocations: 3.938 kB / 0.5253 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.1605, allocations: 148.2 kB / 0.5254 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.151e-05/0.1606, allocations: 55.36 kB / 0.5255 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1606, allocations: 7.438 kB / 0.5255 GB, free: 13.87 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1606, allocations: 0 / 0.5255 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Templates: time 0.006697/0.1673, allocations: 3.624 MB / 0.529 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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: 8.185190892312676]