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.001127/0.001127, allocations: 109.4 kB / 15.98 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 192.6 kB / 16.91 MB, free: 5.746 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.455/1.455, allocations: 205.1 MB / 222.8 MB, free: 4.492 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.3583/0.3583, allocations: 43.51 MB / 313.6 MB, free: 8.586 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.001639/0.001639, allocations: 63.91 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1308, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001981/0.1328, allocations: 0.5424 MB / 440.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.1363, allocations: 2.303 MB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.1363, allocations: 0 / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.1364, allocations: 0 / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.1364, allocations: 4 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.1392, allocations: 1.052 MB / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.1393, allocations: 0 / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.1393, allocations: 0 / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.1394, allocations: 7.984 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.13e-05/0.1394, allocations: 4 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.1394, allocations: 0 / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.1408, allocations: 0.9599 MB / 445 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1409, allocations: 7.984 kB / 445 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1409, allocations: 0 / 445 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.1415, allocations: 419.4 kB / 445.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1415, allocations: 0 / 445.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1415, allocations: 0 / 445.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1415, allocations: 0 / 445.4 MB, free: 9.309 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.0004571/0.142, allocations: 433.5 kB / 445.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.142, allocations: 11.89 kB / 445.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.1421, allocations: 34.69 kB / 445.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.1421, allocations: 8.844 kB / 445.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1422, allocations: 164.4 kB / 446 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1422, allocations: 384 / 446 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1423, allocations: 384 / 446 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1424, allocations: 37.83 kB / 446.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1424, allocations: 4 kB / 446.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1424, allocations: 0 / 446.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1424, allocations: 0 / 446.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.1424, allocations: 0 / 446.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1426, allocations: 157.6 kB / 446.2 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.75e-05/0.1427, allocations: 18.52 kB / 446.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.1427, allocations: 4.859 kB / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1427, allocations: 96 / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/0.1428, allocations: 72.14 kB / 446.3 MB, free: 8.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.1428, allocations: 0 / 446.3 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002066/0.143, allocations: 67.39 kB / 446.4 MB, free: 8.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1431, allocations: 81.05 kB / 446.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.1431, allocations: 89.86 kB / 446.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1432, allocations: 25.7 kB / 446.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.1432, allocations: 80.14 kB / 446.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1432, allocations: 128 / 446.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.1433, allocations: 17.72 kB / 446.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1434, allocations: 314.8 kB / 447 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.1434, allocations: 0 / 447 MB, free: 7.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.1434, allocations: 4 kB / 447 MB, free: 7.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.1435, allocations: 60.25 kB / 447 MB, free: 7.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1435, allocations: 4 kB / 447 MB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.394e-05/0.1436, allocations: 59.34 kB / 447.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.1436, allocations: 41.73 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1436, allocations: 0 / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1436, allocations: 0 / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/0.1437, allocations: 3.984 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1437, allocations: 3.938 kB / 447.1 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.1437, allocations: 0 / 447.1 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1437, allocations: 0 / 447.1 MB, free: 7.266 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 9.454e-05/0.1438, allocations: 139.5 kB / 447.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.1438, allocations: 3.938 kB / 447.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12e-05/0.1438, allocations: 7.125 kB / 447.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1439, allocations: 4 kB / 447.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1439, allocations: 0 / 447.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1439, allocations: 0 / 447.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.96e-05/0.144, allocations: 145.7 kB / 447.4 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.144, allocations: 0 / 447.4 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.144, allocations: 0 / 447.4 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.144, allocations: 7.938 kB / 447.4 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.144, allocations: 4 kB / 447.4 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.144, allocations: 0 / 447.4 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.144, allocations: 3.984 kB / 447.4 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.21e-05/0.1441, allocations: 98.77 kB / 447.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1442, allocations: 84.98 kB / 447.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1442, allocations: 0 / 447.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.1442, allocations: 0 / 447.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.1442, allocations: 0 / 447.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1442, allocations: 4 kB / 447.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.636e-05/0.1443, allocations: 79.28 kB / 447.7 MB, free: 6.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1443, allocations: 4.031 kB / 447.7 MB, free: 6.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.1447, allocations: 140 kB / 447.8 MB, free: 6.445 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.0009077/0.1456, allocations: 0.8902 MB / 448.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.513e-05/0.1457, allocations: 71.33 kB / 448.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1457, allocations: 0 / 448.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.1458, allocations: 55.41 kB / 448.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.1459, allocations: 4.062 kB / 448.9 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.1462, allocations: 190.5 kB / 449.1 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1466, allocations: 0.6728 MB / 449.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.1466, allocations: 0 / 449.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.1466, allocations: 7.438 kB / 449.7 MB, free: 4.441 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1466, allocations: 4 kB / 449.7 MB, free: 4.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2184/0.365, allocations: 5.2 MB / 454.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.3653, allocations: 245 kB / 455.2 MB, free: 44.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.397, allocations: 0 / 455.2 MB, free: 44.68 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