Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",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.001685/0.001685, allocations: 104 kB / 16.27 MB, free: 6.043 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.001964/0.001964, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.511/1.511, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1985/0.1985, allocations: 43.53 MB / 313.9 MB, free: 0.543 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.001434/0.001434, allocations: 69.61 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0834/0.08484, allocations: 57.79 MB / 440.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001493/0.08637, allocations: 0.4935 MB / 441.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.08768, allocations: 1.425 MB / 442.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.08771, allocations: 0 / 442.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.08774, allocations: 0 / 442.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.08776, allocations: 0 / 442.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.08821, allocations: 99.66 kB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.08826, allocations: 8 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.0883, allocations: 0 / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.08832, allocations: 0 / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.82e-05/0.08834, allocations: 3.938 kB / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.08836, allocations: 0 / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.08851, allocations: 43.95 kB / 442.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.08852, allocations: 4 kB / 442.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.08855, allocations: 8 kB / 442.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.988e-05/0.08864, allocations: 35.94 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08865, allocations: 0 / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.08866, allocations: 0 / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.08867, allocations: 3.938 kB / 442.7 MB, free: 4.707 MB / 318.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.0002169/0.08889, allocations: 353.2 kB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.08893, allocations: 11.89 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.272e-05/0.08895, allocations: 30.75 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.08898, allocations: 0.9375 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.277e-05/0.08903, allocations: 172.3 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.08904, allocations: 384 / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.08905, allocations: 384 / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.623e-05/0.08912, allocations: 33.83 kB / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.08913, allocations: 0 / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.08914, allocations: 0 / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.08915, allocations: 0 / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.08917, allocations: 3.984 kB / 443.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.599e-05/0.08925, allocations: 149.7 kB / 443.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.937e-05/0.08929, allocations: 22.55 kB / 443.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.0893, allocations: 4.859 kB / 443.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.08932, allocations: 0 / 443.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.08935, allocations: 64.27 kB / 443.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.08935, allocations: 0 / 443.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.08948, allocations: 63.39 kB / 443.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.08952, allocations: 85.23 kB / 443.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.605e-05/0.08954, allocations: 89.86 kB / 443.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.08955, allocations: 25.7 kB / 443.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-06/0.08956, allocations: 84.08 kB / 443.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.08958, allocations: 288 / 443.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.08961, allocations: 13.72 kB / 443.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.08965, allocations: 314.8 kB / 444.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-06/0.08966, allocations: 4 kB / 444.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-06/0.08967, allocations: 8 kB / 444.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.0897, allocations: 60.27 kB / 444.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.08971, allocations: 0 / 444.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.772e-05/0.08976, allocations: 63.39 kB / 444.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.08979, allocations: 45.56 kB / 444.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.0898, allocations: 0 / 444.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.08981, allocations: 3.938 kB / 444.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.08982, allocations: 0 / 444.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.08983, allocations: 3.938 kB / 444.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.08984, allocations: 4.094 kB / 444.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.08986, allocations: 0 / 444.4 MB, free: 2.746 MB / 318.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 4.303e-05/0.0899, allocations: 151.4 kB / 444.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.08991, allocations: 3.938 kB / 444.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-06/0.08993, allocations: 3.125 kB / 444.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.08993, allocations: 3.984 kB / 444.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.08994, allocations: 4 kB / 444.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.08995, allocations: 0 / 444.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.137e-05/0.08999, allocations: 141.7 kB / 444.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.09, allocations: 4 kB / 444.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.09, allocations: 0 / 444.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.09001, allocations: 3.938 kB / 444.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.09002, allocations: 4 kB / 444.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.09002, allocations: 0 / 444.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.09003, allocations: 3.984 kB / 444.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.717e-05/0.09009, allocations: 82.84 kB / 444.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.09011, allocations: 85.05 kB / 444.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.09013, allocations: 8.016 kB / 444.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.09014, allocations: 3.938 kB / 444.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-06/0.09015, allocations: 0 / 444.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.09016, allocations: 0 / 444.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.638e-06/0.09017, allocations: 79.28 kB / 445 MB, free: 2.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09018, allocations: 0 / 445 MB, free: 2.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.09038, allocations: 8 kB / 445 MB, free: 2.059 MB / 318.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.0003432/0.09073, allocations: 0.6726 MB / 445.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.068e-05/0.09081, allocations: 63.34 kB / 445.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.09082, allocations: 3.938 kB / 445.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.09084, allocations: 59.34 kB / 445.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.09097, allocations: 3.125 kB / 445.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.0912, allocations: 110.6 kB / 445.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.09129, allocations: 0.6729 MB / 446.6 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.0913, allocations: 4 kB / 446.6 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-06/0.09132, allocations: 7.438 kB / 446.6 MB, free: 360 kB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09132, allocations: 0 / 446.6 MB, free: 360 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.109, allocations: 1.488 MB / 448.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.512, allocations: 4 kB / 448.1 MB, free: 14.87 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches