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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 117 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 192.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.54/1.54, allocations: 207.6 MB / 230.4 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] 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.4285/0.4285, allocations: 44.23 MB / 326.5 MB, free: 7.215 MB / 254.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.002215/0.002215, allocations: 75.88 kB / 462.1 MB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3296, allocations: 60.99 MB / 0.5109 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.002365/0.332, allocations: 492.3 kB / 0.5113 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.3362, allocations: 2.335 MB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.3363, allocations: 0 / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.3363, allocations: 0 / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.3363, allocations: 1.312 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.3391, allocations: 1.139 MB / 0.5147 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.312e-05/0.3392, allocations: 5.125 kB / 0.5147 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.3392, allocations: 1.781 kB / 0.5147 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.3393, allocations: 1.688 kB / 0.5147 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.3393, allocations: 3.984 kB / 0.5147 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.3393, allocations: 0 / 0.5147 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.3409, allocations: 0.9869 MB / 0.5157 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.341, allocations: 0 / 0.5157 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.341, allocations: 1.375 kB / 0.5157 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.3415, allocations: 420.2 kB / 0.5161 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3415, allocations: 0 / 0.5161 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3415, allocations: 1.375 kB / 0.5161 GB, free: 9.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3415, allocations: 0 / 0.5161 GB, free: 9.621 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.0004196/0.342, allocations: 436.9 kB / 0.5165 GB, free: 9.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.342, allocations: 17.55 kB / 0.5165 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.342, allocations: 30.75 kB / 0.5166 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.3421, allocations: 0.9375 kB / 0.5166 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.863e-05/0.3421, allocations: 168.4 kB / 0.5167 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3422, allocations: 384 / 0.5167 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.3422, allocations: 384 / 0.5167 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.904e-05/0.3423, allocations: 41.75 kB / 0.5168 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3423, allocations: 0 / 0.5168 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3423, allocations: 0 / 0.5168 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3423, allocations: 0 / 0.5168 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.3423, allocations: 4 kB / 0.5168 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.3424, allocations: 145.7 kB / 0.5169 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/0.3425, allocations: 26.55 kB / 0.5169 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.3425, allocations: 8.844 kB / 0.517 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.3425, allocations: 0 / 0.517 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.3425, allocations: 68.2 kB / 0.517 GB, free: 8.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.234e-06/0.3425, allocations: 7.984 kB / 0.517 GB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001779/0.3427, allocations: 59.41 kB / 0.5171 GB, free: 8.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3427, allocations: 81.09 kB / 0.5172 GB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.137e-05/0.3427, allocations: 93.86 kB / 0.5173 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.3428, allocations: 25.7 kB / 0.5173 GB, free: 8.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.131e-05/0.3428, allocations: 80.14 kB / 0.5174 GB, free: 8.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.3428, allocations: 3.938 kB / 0.5174 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.3428, allocations: 13.72 kB / 0.5174 GB, free: 8.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.3429, allocations: 315 kB / 0.5177 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.3429, allocations: 0 / 0.5177 GB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.3429, allocations: 0 / 0.5177 GB, free: 7.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.3429, allocations: 68.2 kB / 0.5177 GB, free: 7.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3429, allocations: 0 / 0.5177 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.919e-05/0.343, allocations: 63.39 kB / 0.5178 GB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.343, allocations: 33.64 kB / 0.5178 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.343, allocations: 4 kB / 0.5178 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.343, allocations: 96 / 0.5178 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.343, allocations: 4 kB / 0.5178 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.343, allocations: 0 / 0.5178 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.343, allocations: 0 / 0.5178 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.343, allocations: 0 / 0.5178 GB, free: 7.617 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 5.476e-05/0.3431, allocations: 139.5 kB / 0.518 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.3431, allocations: 3.938 kB / 0.518 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.3431, allocations: 3.125 kB / 0.518 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.3431, allocations: 0 / 0.518 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3431, allocations: 0 / 0.518 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3431, allocations: 8 kB / 0.518 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.948e-05/0.3432, allocations: 153.6 kB / 0.5181 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3432, allocations: 0 / 0.5181 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.3432, allocations: 0 / 0.5181 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3432, allocations: 3.938 kB / 0.5181 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.3432, allocations: 0 / 0.5181 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3432, allocations: 7.938 kB / 0.5181 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3432, allocations: 3.984 kB / 0.5181 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/0.3433, allocations: 90.83 kB / 0.5182 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.3433, allocations: 85.05 kB / 0.5183 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3433, allocations: 0 / 0.5183 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.3433, allocations: 0 / 0.5183 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.3433, allocations: 0 / 0.5183 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3433, allocations: 7.984 kB / 0.5183 GB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.29e-05/0.3433, allocations: 75.28 kB / 0.5184 GB, free: 6.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3433, allocations: 4 kB / 0.5184 GB, free: 6.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003702/0.3437, allocations: 139.6 kB / 0.5185 GB, free: 6.793 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.0007342/0.3444, allocations: 0.8988 MB / 0.5194 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.3445, allocations: 55.41 kB / 0.5195 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3445, allocations: 4 kB / 0.5195 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.3445, allocations: 59.39 kB / 0.5195 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3447, allocations: 6.188 kB / 0.5195 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.345, allocations: 186 kB / 0.5197 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.3452, allocations: 0.673 MB / 0.5204 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.244e-06/0.3452, allocations: 0 / 0.5204 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.3452, allocations: 11.42 kB / 0.5204 GB, free: 4.781 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3452, allocations: 0 / 0.5204 GB, free: 4.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.3769, allocations: 5.31 MB / 0.5256 GB, free: 15.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.958, allocations: 12 kB / 0.5256 GB, free: 15.45 MB / 398.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.90123912319541]