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.0008136/0.0008136, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007915/0.0007915, allocations: 166.3 kB / 23.96 MB, free: 0.6055 MB / 18.57 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 0.8505/0.8505, allocations: 158.6 MB / 185.7 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1283/0.1283, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 408.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.455e-05, allocations: 2.281 kB / 408.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001072/0.001096, allocations: 494.4 kB / 408.5 MB, free: 1.297 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.003614, allocations: 2.212 MB / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.003641, allocations: 0 / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.003658, allocations: 0 / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.649e-06/0.003668, allocations: 0 / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.005561, allocations: 1.152 MB / 411.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.005627, allocations: 3.984 kB / 411.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.005672, allocations: 7.984 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.005702, allocations: 0 / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.626e-05/0.005728, allocations: 0 / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.005736, allocations: 0 / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.006737, allocations: 0.9441 MB / 412.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.006747, allocations: 0 / 412.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.006767, allocations: 0 / 412.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.007265, allocations: 0.5028 MB / 413.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007269, allocations: 0 / 413.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00727, allocations: 4 kB / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007274, allocations: 0 / 413.4 MB, free: 12.44 MB / 394.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.000369/0.007643, allocations: 355.3 kB / 413.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.007689, allocations: 11.97 kB / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.007731, allocations: 0.9375 kB / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.0078, allocations: 105.8 kB / 413.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.007812, allocations: 4.375 kB / 413.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.007821, allocations: 384 / 413.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.007931, allocations: 63.95 kB / 413.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00794, allocations: 192 / 413.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.007951, allocations: 384 / 413.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.007957, allocations: 7.875 kB / 413.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.007986, allocations: 33.7 kB / 413.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.00809, allocations: 97.28 kB / 414 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.008149, allocations: 48.3 kB / 414.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.008171, allocations: 30.56 kB / 414.1 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.008179, allocations: 4 kB / 414.1 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.008216, allocations: 64.33 kB / 414.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.008217, allocations: 0 / 414.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001878/0.008405, allocations: 118.7 kB / 414.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.008449, allocations: 81.05 kB / 414.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.536e-05/0.008484, allocations: 89.86 kB / 414.5 MB, free: 11.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.008495, allocations: 29.7 kB / 414.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.008515, allocations: 80.14 kB / 414.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.008531, allocations: 0 / 414.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.00856, allocations: 13.72 kB / 414.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.008748, allocations: 315 kB / 414.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.008771, allocations: 29.7 kB / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.008784, allocations: 29.69 kB / 414.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.00883, allocations: 68.2 kB / 415 MB, free: 10.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.008832, allocations: 0 / 415 MB, free: 10.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.525e-05/0.008898, allocations: 85.11 kB / 415.1 MB, free: 10.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.008924, allocations: 33.69 kB / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.008931, allocations: 0 / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.008944, allocations: 0 / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.008945, allocations: 8.094 kB / 415.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.008951, allocations: 3.938 kB / 415.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.008962, allocations: 3.938 kB / 415.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.008968, allocations: 0 / 415.1 MB, free: 10.39 MB / 394.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 6.466e-05/0.009033, allocations: 139.5 kB / 415.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-06/0.009037, allocations: 3.984 kB / 415.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.009047, allocations: 3 kB / 415.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.009049, allocations: 0 / 415.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009053, allocations: 0 / 415.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.009059, allocations: 7.922 kB / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.995e-05/0.009109, allocations: 101.3 kB / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.009109, allocations: 4 kB / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.00911, allocations: 0 / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.11e-07/0.00911, allocations: 0 / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.009116, allocations: 0 / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3e-07/0.009117, allocations: 0 / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009118, allocations: 7.938 kB / 415.4 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.687e-05/0.009194, allocations: 120.5 kB / 415.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.009198, allocations: 0 / 415.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.009208, allocations: 0 / 415.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.608e-06/0.009213, allocations: 0 / 415.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.009226, allocations: 8.031 kB / 415.5 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.009228, allocations: 4 kB / 415.5 MB, free: 9.918 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.299e-05/0.009251, allocations: 79.22 kB / 415.6 MB, free: 9.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009251, allocations: 0 / 415.6 MB, free: 9.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.009547, allocations: 151.5 kB / 415.8 MB, free: 9.691 MB / 394.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.0005424/0.01009, allocations: 402.4 kB / 416.2 MB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.0102, allocations: 114.8 kB / 416.3 MB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0102, allocations: 0 / 416.3 MB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.01023, allocations: 85.09 kB / 416.3 MB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.01033, allocations: 4 kB / 416.4 MB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.01055, allocations: 128.3 kB / 416.5 MB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.0106, allocations: 55.47 kB / 416.5 MB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.01061, allocations: 16.5 kB / 416.5 MB, free: 8.797 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.01061, allocations: 0 / 416.5 MB, free: 8.797 MB / 394.7 MB Notification: Performance of Templates: time 0.004325/0.01494, allocations: 3.667 MB / 420.2 MB, free: 5.121 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins/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: 4.496609656140208]