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.001859/0.001859, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002487/0.002487, allocations: 211.9 kB / 23.78 MB, free: 4.523 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.471/1.471, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.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.2342/0.2342, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.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.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.002539/0.002539, allocations: 67.91 kB / 468.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1126, allocations: 61.05 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001741/0.1143, allocations: 490.7 kB / 0.5174 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003627/0.1179, allocations: 2.204 MB / 0.5195 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.118, allocations: 0 / 0.5195 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.118, allocations: 3.938 kB / 0.5195 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.118, allocations: 0 / 0.5195 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.121, allocations: 1.156 MB / 0.5206 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1211, allocations: 0 / 0.5206 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.1211, allocations: 3.984 kB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.1211, allocations: 8 kB / 0.5207 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.1212, allocations: 3.984 kB / 0.5207 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-06/0.1212, allocations: 0 / 0.5207 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.1229, allocations: 0.96 MB / 0.5216 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1229, allocations: 3.938 kB / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.1229, allocations: 4 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008535/0.1238, allocations: 415.4 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1238, allocations: 0 / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1238, allocations: 0 / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1238, allocations: 3.938 kB / 0.522 GB, free: 1.934 MB / 398.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.0005275/0.1243, allocations: 355.4 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1244, allocations: 8.031 kB / 0.5224 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.975e-05/0.1244, allocations: 192 / 0.5224 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1244, allocations: 34.69 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.1245, allocations: 4.938 kB / 0.5224 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.1246, allocations: 106.5 kB / 0.5225 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1246, allocations: 4.375 kB / 0.5225 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.1246, allocations: 384 / 0.5225 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1247, allocations: 59.34 kB / 0.5226 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1247, allocations: 7.922 kB / 0.5226 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1247, allocations: 0 / 0.5226 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1247, allocations: 0 / 0.5226 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.1247, allocations: 29.7 kB / 0.5226 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.1249, allocations: 120.8 kB / 0.5227 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.1249, allocations: 44.31 kB / 0.5227 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.125, allocations: 30.56 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.125, allocations: 7.938 kB / 0.5228 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.125, allocations: 64.33 kB / 0.5228 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.125, allocations: 0 / 0.5228 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002234/0.1253, allocations: 118.7 kB / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1253, allocations: 77.11 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.1254, allocations: 89.86 kB / 0.5231 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1254, allocations: 25.7 kB / 0.5231 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.1254, allocations: 84.14 kB / 0.5232 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.1255, allocations: 4 kB / 0.5232 GB, free: 464 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1255, allocations: 9.844 kB / 0.5232 GB, free: 448 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1256, allocations: 318.8 kB / 0.5235 GB, free: 120 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.1257, allocations: 29.69 kB / 0.5236 GB, free: 84 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.1257, allocations: 25.7 kB / 0.5236 GB, free: 52 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.1258, allocations: 68.2 kB / 0.5237 GB, free: 15.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1258, allocations: 0 / 0.5237 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001006/0.1259, allocations: 93.03 kB / 0.5237 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.1259, allocations: 33.7 kB / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.1259, allocations: 0 / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1259, allocations: 0 / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1259, allocations: 4.094 kB / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1259, allocations: 3.938 kB / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.126, allocations: 0 / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.126, allocations: 0 / 0.5238 GB, free: 15.81 MB / 414.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 0.0001052/0.1261, allocations: 139.5 kB / 0.5239 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1261, allocations: 3.938 kB / 0.5239 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.1261, allocations: 10.98 kB / 0.5239 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1261, allocations: 0 / 0.5239 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1261, allocations: 4 kB / 0.5239 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1261, allocations: 0 / 0.5239 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.1262, allocations: 116.8 kB / 0.524 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1262, allocations: 0 / 0.524 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.1262, allocations: 7.938 kB / 0.5241 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1262, allocations: 0 / 0.5241 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1262, allocations: 4 kB / 0.5241 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1262, allocations: 3.938 kB / 0.5241 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1262, allocations: 0 / 0.5241 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1264, allocations: 116.5 kB / 0.5242 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.1264, allocations: 3.938 kB / 0.5242 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1264, allocations: 3.984 kB / 0.5242 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.1264, allocations: 8.031 kB / 0.5242 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.1264, allocations: 0 / 0.5242 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1264, allocations: 0 / 0.5242 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.599e-05/0.1265, allocations: 75.28 kB / 0.5243 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1265, allocations: 0 / 0.5243 GB, free: 15.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005408/0.127, allocations: 143.6 kB / 0.5244 GB, free: 15.1 MB / 414.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.001165/0.1282, allocations: 0.9245 MB / 0.5253 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1283, allocations: 110.8 kB / 0.5254 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1283, allocations: 0 / 0.5254 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.1284, allocations: 85.09 kB / 0.5255 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.1285, allocations: 7.875 kB / 0.5255 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.129, allocations: 212 kB / 0.5257 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.129, allocations: 63.27 kB / 0.5258 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.781e-06/0.129, allocations: 0 / 0.5258 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.129, allocations: 11.44 kB / 0.5258 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.129, allocations: 0 / 0.5258 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.1558, allocations: 5.487 MB / 0.5311 GB, free: 8.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.35, allocations: 8.047 kB / 0.5311 GB, free: 8.047 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.526348115992732]