Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 96.14 kB / 15.87 MB, free: 16 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.002083/0.002083, allocations: 203.2 kB / 16.79 MB, free: 6.84 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.27/1.27, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.2912/0.2912, allocations: 43.49 MB / 313.5 MB, free: 8.285 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.001315/0.001315, allocations: 67.91 kB / 382.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 57.77 MB / 439.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001631/0.113, allocations: 0.5347 MB / 440.4 MB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.1161, allocations: 2.385 MB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.198e-05/0.1161, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.1161, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.1161, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.1181, allocations: 1.032 MB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.081e-05/0.1182, allocations: 7.938 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.8e-05/0.1182, allocations: 0 / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.1182, allocations: 0 / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.874e-05/0.1182, allocations: 11.97 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-06/0.1183, allocations: 0 / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.1196, allocations: 0.96 MB / 444.8 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-06/0.1196, allocations: 0 / 444.8 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.1197, allocations: 0 / 444.8 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.1201, allocations: 419.3 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1201, allocations: 0 / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1202, allocations: 0 / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1202, allocations: 0 / 445.2 MB, free: 9.164 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.0003753/0.1205, allocations: 429.5 kB / 445.7 MB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1206, allocations: 8.031 kB / 445.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.1206, allocations: 38.75 kB / 445.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.1206, allocations: 4.844 kB / 445.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.1207, allocations: 164.4 kB / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1207, allocations: 384 / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.1207, allocations: 384 / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1209, allocations: 41.77 kB / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1209, allocations: 0 / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.1209, allocations: 0 / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1209, allocations: 0 / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.1209, allocations: 3.984 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.121, allocations: 157.6 kB / 446.1 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.278e-05/0.1211, allocations: 18.52 kB / 446.1 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.168e-05/0.1211, allocations: 4.953 kB / 446.1 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.1211, allocations: 4 kB / 446.1 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1211, allocations: 64.2 kB / 446.2 MB, free: 8.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.474e-06/0.1212, allocations: 3.938 kB / 446.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.1213, allocations: 71.33 kB / 446.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1214, allocations: 77.11 kB / 446.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/0.1214, allocations: 89.86 kB / 446.4 MB, free: 7.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1214, allocations: 25.7 kB / 446.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.1215, allocations: 80.14 kB / 446.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.1215, allocations: 4 kB / 446.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.1215, allocations: 13.72 kB / 446.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.1216, allocations: 310.8 kB / 446.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.1216, allocations: 8.125 kB / 446.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.1216, allocations: 0 / 446.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/0.1217, allocations: 72.19 kB / 446.9 MB, free: 7.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1217, allocations: 0 / 446.9 MB, free: 7.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.806e-05/0.1218, allocations: 59.41 kB / 447 MB, free: 7.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.1218, allocations: 37.64 kB / 447 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1218, allocations: 0 / 447 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1218, allocations: 0 / 447 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1218, allocations: 0 / 447 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1219, allocations: 8.078 kB / 447 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.1219, allocations: 0 / 447 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1219, allocations: 4 kB / 447 MB, free: 7.117 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/0.122, allocations: 135.5 kB / 447.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.122, allocations: 3.938 kB / 447.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-06/0.122, allocations: 7.125 kB / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.122, allocations: 0 / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.122, allocations: 0 / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.122, allocations: 0 / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.522e-05/0.1221, allocations: 153.7 kB / 447.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1221, allocations: 0 / 447.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.1221, allocations: 0 / 447.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1221, allocations: 11.88 kB / 447.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.1221, allocations: 0 / 447.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1221, allocations: 3.984 kB / 447.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1221, allocations: 0 / 447.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.244e-05/0.1222, allocations: 94.81 kB / 447.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.1223, allocations: 85.08 kB / 447.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1223, allocations: 0 / 447.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-06/0.1223, allocations: 3.938 kB / 447.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.1223, allocations: 3.938 kB / 447.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.1223, allocations: 4 kB / 447.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.177e-05/0.1223, allocations: 75.28 kB / 447.6 MB, free: 6.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1224, allocations: 0 / 447.6 MB, free: 6.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.1227, allocations: 140 kB / 447.7 MB, free: 6.301 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 (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.0008598/0.1236, allocations: 0.8983 MB / 448.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.1237, allocations: 59.39 kB / 448.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1237, allocations: 0 / 448.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.1237, allocations: 55.41 kB / 448.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.1238, allocations: 0 / 448.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.1242, allocations: 176.3 kB / 448.9 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.1244, allocations: 0.677 MB / 449.6 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.949e-06/0.1244, allocations: 4.125 kB / 449.6 MB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.1244, allocations: 11.44 kB / 449.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1244, allocations: 0 / 449.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1702/0.2946, allocations: 5.166 MB / 454.8 MB, free: 44.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.2949, allocations: 236.4 kB / 455 MB, free: 44.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.197, allocations: 0 / 455 MB, free: 44.54 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches