Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.001821/0.001821, allocations: 119.3 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.001966/0.001966, allocations: 191.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.571/1.571, allocations: 207.6 MB / 230.5 MB, free: 4.008 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.3796/0.3796, allocations: 44.23 MB / 326.5 MB, free: 6.828 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.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",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.002299/0.002299, allocations: 72.45 kB / 462.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3283, allocations: 60.99 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001608/0.3299, allocations: 0.4905 MB / 0.5113 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.3328, allocations: 2.333 MB / 0.5136 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.3328, allocations: 0 / 0.5136 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.098e-05/0.3329, allocations: 0 / 0.5136 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.3329, allocations: 0 / 0.5136 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.3353, allocations: 1.139 MB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.3353, allocations: 0 / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3354, allocations: 5.734 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.3354, allocations: 1.688 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.021e-05/0.3354, allocations: 0 / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-06/0.3354, allocations: 0 / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.3369, allocations: 0.9897 MB / 0.5157 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.3369, allocations: 1.312 kB / 0.5157 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.3369, allocations: 4 kB / 0.5157 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.3376, allocations: 421 kB / 0.5161 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3376, allocations: 1.438 kB / 0.5161 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3376, allocations: 0 / 0.5161 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3376, allocations: 0 / 0.5161 GB, free: 9.484 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.0004032/0.338, allocations: 436.9 kB / 0.5165 GB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.338, allocations: 17.61 kB / 0.5166 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.338, allocations: 30.75 kB / 0.5166 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.3381, allocations: 2.344 kB / 0.5166 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.3382, allocations: 160.4 kB / 0.5167 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3382, allocations: 384 / 0.5167 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3382, allocations: 1.625 kB / 0.5167 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.177e-05/0.3383, allocations: 40.5 kB / 0.5168 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3383, allocations: 0 / 0.5168 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.3383, allocations: 0 / 0.5168 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3383, allocations: 5.484 kB / 0.5168 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.3383, allocations: 4 kB / 0.5168 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.3384, allocations: 152.3 kB / 0.5169 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.748e-05/0.3385, allocations: 15.92 kB / 0.5169 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.3385, allocations: 10.08 kB / 0.517 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.3385, allocations: 0 / 0.517 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3385, allocations: 69.5 kB / 0.517 GB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.3385, allocations: 0 / 0.517 GB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001976/0.3387, allocations: 67.66 kB / 0.5171 GB, free: 8.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3388, allocations: 77.11 kB / 0.5172 GB, free: 8.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.497e-05/0.3388, allocations: 89.86 kB / 0.5172 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.3388, allocations: 27.08 kB / 0.5173 GB, free: 8.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.549e-05/0.3388, allocations: 80.14 kB / 0.5173 GB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.3388, allocations: 1.375 kB / 0.5173 GB, free: 8.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.3389, allocations: 15.08 kB / 0.5174 GB, free: 8.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.3389, allocations: 320.3 kB / 0.5177 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.3389, allocations: 0 / 0.5177 GB, free: 7.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.3389, allocations: 5.375 kB / 0.5177 GB, free: 7.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.339, allocations: 64.33 kB / 0.5177 GB, free: 7.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.339, allocations: 0 / 0.5177 GB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.71e-05/0.339, allocations: 62.27 kB / 0.5178 GB, free: 7.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.3391, allocations: 39.14 kB / 0.5178 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3391, allocations: 0 / 0.5178 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.3391, allocations: 1.375 kB / 0.5178 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3391, allocations: 4.094 kB / 0.5178 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3391, allocations: 0 / 0.5178 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.3391, allocations: 1.375 kB / 0.5178 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3391, allocations: 0 / 0.5178 GB, free: 7.531 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 7.236e-05/0.3392, allocations: 134.3 kB / 0.518 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.3392, allocations: 9.297 kB / 0.518 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.3392, allocations: 3.125 kB / 0.518 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.3392, allocations: 0 / 0.518 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3392, allocations: 1.375 kB / 0.518 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3392, allocations: 4 kB / 0.518 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.789e-05/0.3393, allocations: 143.1 kB / 0.5181 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.3393, allocations: 3.938 kB / 0.5181 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-06/0.3393, allocations: 1.375 kB / 0.5181 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3393, allocations: 3.938 kB / 0.5181 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3393, allocations: 9.297 kB / 0.5181 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3393, allocations: 0 / 0.5181 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3393, allocations: 3.984 kB / 0.5181 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.409e-05/0.3394, allocations: 89.84 kB / 0.5182 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.3394, allocations: 85.03 kB / 0.5183 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3395, allocations: 1.375 kB / 0.5183 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-06/0.3395, allocations: 1.375 kB / 0.5183 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.3395, allocations: 4 kB / 0.5183 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3395, allocations: 5.312 kB / 0.5183 GB, free: 6.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.708e-05/0.3395, allocations: 75.28 kB / 0.5184 GB, free: 6.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3395, allocations: 0 / 0.5184 GB, free: 6.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.34, allocations: 146.6 kB / 0.5185 GB, free: 6.781 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.000728/0.3407, allocations: 0.8951 MB / 0.5194 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.3408, allocations: 59.41 kB / 0.5195 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3408, allocations: 0 / 0.5195 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.3408, allocations: 51.41 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.0001438/0.3409, allocations: 6.031 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.000321/0.3412, allocations: 194.1 kB / 0.5197 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3413, allocations: 0.6729 MB / 0.5204 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.239e-06/0.3413, allocations: 0 / 0.5204 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.006e-05/0.3414, allocations: 7.438 kB / 0.5204 GB, free: 4.777 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3414, allocations: 4 kB / 0.5204 GB, free: 4.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.37, allocations: 5.313 MB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.787, allocations: 8 kB / 0.5256 GB, free: 15.44 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.717329665087163]