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.002537/0.002537, allocations: 126.1 kB / 17.84 MB, free: 5.258 MB / 14.72 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.002384/0.002384, allocations: 200.6 kB / 20.79 MB, free: 2.32 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.522/1.522, allocations: 207.6 MB / 231.2 MB, free: 4.074 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.348/0.348, allocations: 44.23 MB / 327.3 MB, free: 6.707 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003499/0.003499, allocations: 68.31 kB / 462.9 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3478, allocations: 61 MB / 0.5116 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.00178/0.3496, allocations: 492.8 kB / 0.5121 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.3529, allocations: 2.341 MB / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.353, allocations: 0 / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.353, allocations: 0 / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.353, allocations: 4 kB / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.356, allocations: 1.208 MB / 0.5155 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.356, allocations: 1.469 kB / 0.5155 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.3561, allocations: 5.281 kB / 0.5156 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.292e-05/0.3561, allocations: 3.984 kB / 0.5156 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.3561, allocations: 1.562 kB / 0.5156 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.3561, allocations: 4 kB / 0.5156 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.3579, allocations: 0.9867 MB / 0.5165 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.3579, allocations: 0 / 0.5165 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.358, allocations: 1.375 kB / 0.5165 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009093/0.3589, allocations: 419.6 kB / 0.5169 GB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3589, allocations: 0 / 0.5169 GB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3589, allocations: 0 / 0.5169 GB, free: 9.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3589, allocations: 3.984 kB / 0.5169 GB, free: 9.555 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.0004226/0.3593, allocations: 436.4 kB / 0.5173 GB, free: 9.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3593, allocations: 15.83 kB / 0.5174 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.389e-05/0.3594, allocations: 192 / 0.5174 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.3594, allocations: 38.75 kB / 0.5174 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.3594, allocations: 4.922 kB / 0.5174 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.3595, allocations: 160.4 kB / 0.5176 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.3595, allocations: 384 / 0.5176 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.3595, allocations: 4.312 kB / 0.5176 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.3596, allocations: 37.58 kB / 0.5176 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3596, allocations: 4 kB / 0.5176 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3596, allocations: 0 / 0.5176 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3596, allocations: 0 / 0.5176 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/0.3596, allocations: 0 / 0.5176 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.766e-05/0.3597, allocations: 149.7 kB / 0.5177 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.957e-05/0.3598, allocations: 18.58 kB / 0.5178 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.3598, allocations: 4.859 kB / 0.5178 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3598, allocations: 8.031 kB / 0.5178 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3598, allocations: 60.27 kB / 0.5178 GB, free: 8.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.3598, allocations: 3.938 kB / 0.5178 GB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000182/0.36, allocations: 63.39 kB / 0.5179 GB, free: 8.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.36, allocations: 77.11 kB / 0.518 GB, free: 8.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.925e-05/0.3601, allocations: 93.86 kB / 0.5181 GB, free: 8.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.3601, allocations: 25.7 kB / 0.5181 GB, free: 8.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.099e-05/0.3601, allocations: 80.14 kB / 0.5182 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3601, allocations: 128 / 0.5182 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.3601, allocations: 17.72 kB / 0.5182 GB, free: 8.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.3602, allocations: 310.8 kB / 0.5185 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.3602, allocations: 4 kB / 0.5185 GB, free: 7.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.3602, allocations: 7.984 kB / 0.5185 GB, free: 7.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.3602, allocations: 68.2 kB / 0.5185 GB, free: 7.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3602, allocations: 0 / 0.5185 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.972e-05/0.3603, allocations: 59.34 kB / 0.5186 GB, free: 7.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3603, allocations: 37.8 kB / 0.5186 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3603, allocations: 3.984 kB / 0.5186 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3603, allocations: 0 / 0.5186 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3603, allocations: 0 / 0.5186 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3603, allocations: 0 / 0.5186 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.3603, allocations: 0 / 0.5186 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3603, allocations: 4 kB / 0.5186 GB, free: 7.512 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.627e-05/0.3604, allocations: 131.5 kB / 0.5188 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.3604, allocations: 3.938 kB / 0.5188 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.416e-05/0.3604, allocations: 11.12 kB / 0.5188 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3604, allocations: 4 kB / 0.5188 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3604, allocations: 7.875 kB / 0.5188 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3604, allocations: 0 / 0.5188 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.955e-05/0.3605, allocations: 149.7 kB / 0.5189 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3605, allocations: 0 / 0.5189 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.3605, allocations: 3.938 kB / 0.5189 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3605, allocations: 3.938 kB / 0.5189 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3605, allocations: 4 kB / 0.519 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3605, allocations: 0 / 0.519 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3605, allocations: 0 / 0.519 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.785e-05/0.3605, allocations: 94.83 kB / 0.519 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.3606, allocations: 81.05 kB / 0.5191 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3606, allocations: 0 / 0.5191 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-06/0.3606, allocations: 0 / 0.5191 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.3606, allocations: 0 / 0.5191 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3606, allocations: 7.984 kB / 0.5191 GB, free: 6.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.564e-05/0.3606, allocations: 75.28 kB / 0.5192 GB, free: 6.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3606, allocations: 4.031 kB / 0.5192 GB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.3611, allocations: 143.6 kB / 0.5193 GB, free: 6.688 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.0008731/0.362, allocations: 0.8934 MB / 0.5202 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.3621, allocations: 71.39 kB / 0.5203 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3621, allocations: 0 / 0.5203 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/0.3621, allocations: 55.41 kB / 0.5203 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.3622, allocations: 128 / 0.5203 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.3626, allocations: 190 kB / 0.5205 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3627, allocations: 0.669 MB / 0.5212 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.943e-06/0.3627, allocations: 4 kB / 0.5212 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.3627, allocations: 7.438 kB / 0.5212 GB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3627, allocations: 0 / 0.5212 GB, free: 4.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.3846, allocations: 5.368 MB / 0.5264 GB, free: 15.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.829/9.214, allocations: 7.938 kB / 0.5264 GB, free: 15.3 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/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: 12.118093230004888]