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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.0008998/0.0008997, allocations: 93.53 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3326/0.3326, allocations: 43.48 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 59.91 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1244, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.00205/0.1265, allocations: 0.5347 MB / 487.5 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.1301, allocations: 2.392 MB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.1302, allocations: 4 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.1302, allocations: 4 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.68e-06/0.1303, allocations: 0 / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.1326, allocations: 1.024 MB / 491 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.637e-05/0.1326, allocations: 7.938 kB / 491 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1327, allocations: 0 / 491 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.1327, allocations: 0 / 491 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.138e-05/0.1327, allocations: 4 kB / 491 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.1327, allocations: 3.984 kB / 491 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.1341, allocations: 0.956 MB / 491.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.1341, allocations: 8 kB / 491.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.1341, allocations: 0 / 491.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.1346, allocations: 427.3 kB / 492.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1346, allocations: 0 / 492.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1347, allocations: 0 / 492.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1347, allocations: 0 / 492.4 MB, free: 7.164 MB / 378.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.0003737/0.135, allocations: 429.2 kB / 492.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1351, allocations: 8.031 kB / 492.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.1351, allocations: 4.875 kB / 492.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.1352, allocations: 160.4 kB / 492.9 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1352, allocations: 4.375 kB / 492.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1353, allocations: 8.359 kB / 493 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.1353, allocations: 30.02 kB / 493 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1354, allocations: 0 / 493 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1354, allocations: 4 kB / 493 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1354, allocations: 0 / 493 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.435e-05/0.1354, allocations: 0 / 493 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.1355, allocations: 149.9 kB / 493.1 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.1356, allocations: 26.58 kB / 493.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.1356, allocations: 8.859 kB / 493.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.1356, allocations: 0 / 493.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.1356, allocations: 64.27 kB / 493.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1357, allocations: 0 / 493.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.1358, allocations: 67.34 kB / 493.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1359, allocations: 85.03 kB / 493.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.1359, allocations: 93.77 kB / 493.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.1359, allocations: 25.83 kB / 493.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.136, allocations: 84.14 kB / 493.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.136, allocations: 3.938 kB / 493.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.136, allocations: 13.72 kB / 493.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1361, allocations: 314.8 kB / 493.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.1361, allocations: 0 / 493.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.1362, allocations: 0 / 493.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.1362, allocations: 60.27 kB / 494 MB, free: 5.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1362, allocations: 4.062 kB / 494 MB, free: 5.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.081e-05/0.1363, allocations: 67.33 kB / 494 MB, free: 5.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.1363, allocations: 37.64 kB / 494.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1363, allocations: 4 kB / 494.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1364, allocations: 0 / 494.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.1364, allocations: 0 / 494.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1364, allocations: 0 / 494.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.406e-05/0.1364, allocations: 0 / 494.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.1364, allocations: 0 / 494.1 MB, free: 5.172 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/0.1365, allocations: 143.6 kB / 494.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.1365, allocations: 3.938 kB / 494.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-06/0.1365, allocations: 3.125 kB / 494.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.1365, allocations: 0 / 494.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1365, allocations: 0 / 494.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1365, allocations: 4 kB / 494.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.935e-05/0.1366, allocations: 145.7 kB / 494.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.1366, allocations: 3.938 kB / 494.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1366, allocations: 0 / 494.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1366, allocations: 3.938 kB / 494.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1367, allocations: 8 kB / 494.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1367, allocations: 4 kB / 494.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1367, allocations: 0 / 494.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.137, allocations: 0.6413 MB / 495 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.1371, allocations: 85.09 kB / 495.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1371, allocations: 0 / 495.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.1371, allocations: 4.031 kB / 495.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.1371, allocations: 3.938 kB / 495.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1371, allocations: 4 kB / 495.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.1372, allocations: 75.28 kB / 495.2 MB, free: 3.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1372, allocations: 3.938 kB / 495.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.1377, allocations: 144 kB / 495.3 MB, free: 3.754 MB / 378.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 (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.0006186/0.1384, allocations: 366.7 kB / 495.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.1384, allocations: 59.34 kB / 495.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1385, allocations: 0 / 495.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.1385, allocations: 55.41 kB / 495.8 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.1386, allocations: 11.72 kB / 495.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.1388, allocations: 173.5 kB / 496 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1391, allocations: 0.6692 MB / 496.7 MB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.1391, allocations: 4 kB / 496.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/0.1391, allocations: 7.438 kB / 496.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1391, allocations: 0 / 496.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of Templates: time 0.006933/0.1461, allocations: 4.302 MB / 0.4892 GB, free: 14.02 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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