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.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.0008472/0.0008472, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008469/0.0008469, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.8577/0.8577, allocations: 158.6 MB / 185 MB, free: 3.031 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.1337/0.1337, allocations: 32.37 MB / 269.6 MB, free: 14.96 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 406.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.999e-05, allocations: 2.281 kB / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0009789/0.0009989, allocations: 487 kB / 407.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.003744, allocations: 2.212 MB / 409.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.003769, allocations: 4 kB / 409.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.003785, allocations: 0 / 409.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-06/0.003794, allocations: 0 / 409.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.005813, allocations: 1.144 MB / 410.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.005877, allocations: 7.984 kB / 410.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.005922, allocations: 4 kB / 410.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.005955, allocations: 4 kB / 410.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.876e-05/0.005984, allocations: 3.938 kB / 410.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.005991, allocations: 0 / 410.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.007109, allocations: 0.9363 MB / 411.6 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.007118, allocations: 0 / 411.6 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.007136, allocations: 4 kB / 411.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.007603, allocations: 0.5067 MB / 412.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.007606, allocations: 4 kB / 412.1 MB, free: 8.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007607, allocations: 0 / 412.1 MB, free: 8.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.007611, allocations: 4 kB / 412.1 MB, free: 8.219 MB / 346.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.0003374/0.007948, allocations: 355.3 kB / 412.5 MB, free: 7.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.007985, allocations: 15.97 kB / 412.5 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.008017, allocations: 30.75 kB / 412.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.008048, allocations: 0.9375 kB / 412.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.345e-05/0.008111, allocations: 105.8 kB / 412.6 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.008124, allocations: 4.359 kB / 412.6 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.008132, allocations: 4.375 kB / 412.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.008218, allocations: 55.95 kB / 412.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.008224, allocations: 192 / 412.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.008234, allocations: 12.12 kB / 412.7 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.008237, allocations: 0 / 412.7 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.008261, allocations: 25.7 kB / 412.7 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.798e-05/0.008359, allocations: 116.8 kB / 412.8 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.008402, allocations: 48.22 kB / 412.9 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.008422, allocations: 38.64 kB / 412.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-06/0.008428, allocations: 0 / 412.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.008463, allocations: 56.27 kB / 413 MB, free: 7.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.008464, allocations: 0 / 413 MB, free: 7.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.008634, allocations: 122.7 kB / 413.1 MB, free: 7.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.008674, allocations: 93.16 kB / 413.2 MB, free: 6.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.667e-05/0.008701, allocations: 89.86 kB / 413.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.00871, allocations: 25.7 kB / 413.3 MB, free: 6.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.008727, allocations: 80.14 kB / 413.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.008742, allocations: 0 / 413.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.008764, allocations: 13.72 kB / 413.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.008836, allocations: 310.8 kB / 413.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.008852, allocations: 29.7 kB / 413.7 MB, free: 6.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.008865, allocations: 29.7 kB / 413.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.008901, allocations: 60.31 kB / 413.8 MB, free: 6.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008903, allocations: 8 kB / 413.8 MB, free: 6.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.123e-05/0.008954, allocations: 92.98 kB / 413.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.00898, allocations: 33.7 kB / 413.9 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.008985, allocations: 0 / 413.9 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.008997, allocations: 3.938 kB / 413.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/0.008998, allocations: 3.984 kB / 413.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.009004, allocations: 4 kB / 413.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.009015, allocations: 0 / 413.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.009021, allocations: 4 kB / 413.9 MB, free: 6.086 MB / 346.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 5.577e-05/0.009077, allocations: 135.6 kB / 414.1 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-06/0.009081, allocations: 0 / 414.1 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-06/0.009089, allocations: 7 kB / 414.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.009091, allocations: 3.938 kB / 414.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.009095, allocations: 0 / 414.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.009098, allocations: 3.938 kB / 414.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.541e-05/0.009153, allocations: 116.8 kB / 414.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.009155, allocations: 4 kB / 414.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.009155, allocations: 0 / 414.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-07/0.009155, allocations: 0 / 414.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.009162, allocations: 0 / 414.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.009164, allocations: 7.938 kB / 414.2 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009165, allocations: 0 / 414.2 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.617e-05/0.009231, allocations: 120.5 kB / 414.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-06/0.009235, allocations: 0 / 414.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.009243, allocations: 4 kB / 414.3 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-06/0.009249, allocations: 3.938 kB / 414.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.009263, allocations: 4 kB / 414.3 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.009265, allocations: 0 / 414.3 MB, free: 5.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.13e-05/0.009286, allocations: 79.28 kB / 414.4 MB, free: 5.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009286, allocations: 0 / 414.4 MB, free: 5.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.009541, allocations: 143.6 kB / 414.6 MB, free: 5.375 MB / 346.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.0006615/0.0102, allocations: 0.953 MB / 415.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.01029, allocations: 114.8 kB / 415.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.0103, allocations: 0 / 415.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.01032, allocations: 85.09 kB / 415.7 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.99e-05/0.01041, allocations: 3.938 kB / 415.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.011, allocations: 203.9 kB / 415.9 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.01103, allocations: 59.34 kB / 416 MB, free: 3.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.478e-06/0.01104, allocations: 0 / 416 MB, free: 3.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.01105, allocations: 8.5 kB / 416 MB, free: 3.812 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.01105, allocations: 4 kB / 416 MB, free: 3.809 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.03143, allocations: 6.016 MB / 422 MB, free: 13.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/6.586, allocations: 11.86 kB / 422 MB, free: 13.77 MB / 362.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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: 8.631311859935522]