Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00273/0.002736, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.301/0.301, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005048, allocations: 20 kB / 431.4 MB, free: 20.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.86 MB / 490.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0006525/0.128, allocations: 192.7 kB / 490.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.1325, allocations: 2.157 MB / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.1325, allocations: 0 / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.1326, allocations: 0 / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.1326, allocations: 4 kB / 492.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.1362, allocations: 0.9036 MB / 493.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.1363, allocations: 0 / 493.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.1363, allocations: 3.984 kB / 493.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.1363, allocations: 0 / 493.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.686e-05/0.1364, allocations: 0 / 493.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.1364, allocations: 8 kB / 493.5 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.1385, allocations: 0.7257 MB / 494.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1386, allocations: 0 / 494.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1386, allocations: 25.7 kB / 494.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006901/0.1393, allocations: 263.5 kB / 494.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1393, allocations: 0 / 494.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1393, allocations: 0 / 494.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1394, allocations: 0 / 494.5 MB, free: 5.059 MB / 330.7 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.0004955/0.1399, allocations: 433 kB / 494.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1399, allocations: 8.031 kB / 494.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.14, allocations: 0 / 494.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1401, allocations: 163 kB / 495.1 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1401, allocations: 0 / 495.1 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.1402, allocations: 4 kB / 495.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/0.1403, allocations: 29.64 kB / 495.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1403, allocations: 0 / 495.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1403, allocations: 3.984 kB / 495.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1403, allocations: 7.938 kB / 495.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.1403, allocations: 4 kB / 495.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1405, allocations: 149.6 kB / 495.3 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.1406, allocations: 18.61 kB / 495.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1406, allocations: 0 / 495.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.1407, allocations: 64.2 kB / 495.4 MB, free: 4.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.1407, allocations: 0 / 495.4 MB, free: 4.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002006/0.1409, allocations: 71.45 kB / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1409, allocations: 77.11 kB / 495.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.141, allocations: 89.86 kB / 495.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.141, allocations: 25.7 kB / 495.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.1411, allocations: 154.6 kB / 495.8 MB, free: 3.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1411, allocations: 3.938 kB / 495.8 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.1412, allocations: 0 / 495.8 MB, free: 3.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1413, allocations: 314.8 kB / 496.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.1413, allocations: 128 / 496.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.1413, allocations: 7.984 kB / 496.1 MB, free: 3.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.1414, allocations: 37.64 kB / 496.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1414, allocations: 0 / 496.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.146e-05/0.1415, allocations: 59.41 kB / 496.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.1416, allocations: 32.36 kB / 496.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1416, allocations: 0 / 496.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1416, allocations: 0 / 496.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-06/0.1416, allocations: 3.984 kB / 496.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1416, allocations: 0 / 496.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.1417, allocations: 8.094 kB / 496.2 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1417, allocations: 0 / 496.2 MB, free: 3.074 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.1418, allocations: 139.8 kB / 496.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.1418, allocations: 4 kB / 496.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.29e-05/0.1418, allocations: 3.125 kB / 496.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1418, allocations: 0 / 496.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1419, allocations: 0 / 496.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1419, allocations: 0 / 496.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.142, allocations: 153.6 kB / 496.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.142, allocations: 8 kB / 496.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.142, allocations: 3.984 kB / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.142, allocations: 3.938 kB / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-06/0.142, allocations: 0 / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1421, allocations: 0 / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1421, allocations: 3.938 kB / 496.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.1422, allocations: 90.83 kB / 496.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1423, allocations: 85 kB / 496.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1423, allocations: 4.031 kB / 496.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.1423, allocations: 4 kB / 496.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.1423, allocations: 0 / 496.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1423, allocations: 0 / 496.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.1424, allocations: 75.28 kB / 496.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1424, allocations: 0 / 496.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006865/0.1431, allocations: 140 kB / 496.9 MB, free: 2.262 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.1442, allocations: 366.6 kB / 497.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1443, allocations: 67.34 kB / 497.3 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1443, allocations: 0 / 497.3 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.1444, allocations: 63.45 kB / 497.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.1445, allocations: 0 / 497.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.1447, allocations: 92.47 kB / 497.5 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.145, allocations: 0.677 MB / 498.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.145, allocations: 7.438 kB / 498.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.145, allocations: 0 / 498.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of Templates: time 0.01041/0.1554, allocations: 3.893 MB / 0.4903 GB, free: 13.02 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches