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.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.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 96.44 kB / 15.69 MB, free: 480 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.001283/0.001283, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4035/0.4035, allocations: 43.55 MB / 314.5 MB, free: 8.992 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.0005696/0.0005697, allocations: 16 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0009397/0.1439, allocations: 204.5 kB / 442.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1477, allocations: 2.157 MB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.1477, allocations: 0 / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.1477, allocations: 0 / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.1477, allocations: 0 / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.1504, allocations: 0.8997 MB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.1505, allocations: 4 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.1505, allocations: 3.984 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.725e-05/0.1505, allocations: 0 / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.1506, allocations: 0 / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-06/0.1506, allocations: 0 / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.1522, allocations: 0.7335 MB / 446.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.1522, allocations: 4 kB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1523, allocations: 25.7 kB / 446.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.1529, allocations: 259.5 kB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1529, allocations: 0 / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1529, allocations: 0 / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1529, allocations: 0 / 447 MB, free: 9.004 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004937/0.1534, allocations: 421 kB / 447.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1535, allocations: 12.03 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1535, allocations: 3.953 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1537, allocations: 167 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1537, allocations: 3.938 kB / 447.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.1537, allocations: 0 / 447.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.005e-05/0.1538, allocations: 29.7 kB / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1538, allocations: 0 / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1538, allocations: 0 / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1538, allocations: 0 / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.1539, allocations: 15.88 kB / 447.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1541, allocations: 146 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.1541, allocations: 26.5 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.1541, allocations: 0 / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.1542, allocations: 60.36 kB / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.1542, allocations: 0 / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003755/0.1546, allocations: 71.3 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1546, allocations: 77.11 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.1547, allocations: 89.98 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1547, allocations: 29.7 kB / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.1548, allocations: 80.14 kB / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1548, allocations: 3.938 kB / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.1548, allocations: 0 / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.155, allocations: 318.8 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.1551, allocations: 0 / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.1551, allocations: 3.938 kB / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.235e-05/0.1551, allocations: 37.69 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1551, allocations: 4.062 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002141/0.1553, allocations: 55.41 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.1554, allocations: 33.7 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1554, allocations: 0 / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1554, allocations: 0 / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.1554, allocations: 0 / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1554, allocations: 7.984 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.1554, allocations: 0 / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1555, allocations: 4 kB / 448.7 MB, free: 7.082 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.1557, allocations: 143.5 kB / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1557, allocations: 0 / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.409e-05/0.1557, allocations: 3.125 kB / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1557, allocations: 4 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1557, allocations: 0 / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1557, allocations: 0 / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.997e-05/0.1558, allocations: 153.6 kB / 449 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1558, allocations: 0 / 449 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.1558, allocations: 3.938 kB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1558, allocations: 3.938 kB / 449 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-06/0.1559, allocations: 11.94 kB / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1559, allocations: 0 / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1559, allocations: 0 / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.156, allocations: 94.78 kB / 449.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.1561, allocations: 77.11 kB / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1561, allocations: 0 / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.1561, allocations: 0 / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1561, allocations: 3.984 kB / 449.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1561, allocations: 8.031 kB / 449.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.1562, allocations: 75.28 kB / 449.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1562, allocations: 0 / 449.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005266/0.1567, allocations: 144 kB / 449.4 MB, free: 6.262 MB / 382.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 (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.0006855/0.1574, allocations: 358.8 kB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.153e-05/0.1575, allocations: 63.34 kB / 449.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1575, allocations: 0 / 449.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1576, allocations: 55.41 kB / 449.9 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.043e-05/0.1577, allocations: 15.88 kB / 449.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.1579, allocations: 74.89 kB / 450 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.1583, allocations: 0.677 MB / 450.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.762e-06/0.1583, allocations: 0 / 450.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.1583, allocations: 7.438 kB / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1583, allocations: 0 / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of Templates: time 0.007755/0.1661, allocations: 4.08 MB / 454.7 MB, free: 0.8594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches