Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001606/0.001606, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001967/0.001967, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 0.4962 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 66.03 MB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1685/0.4936, allocations: 139.4 MB / 0.6969 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00617/0.4997, allocations: 4.754 MB / 0.7015 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.4999, allocations: 4 kB / 0.7015 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.5003, allocations: 59.58 kB / 0.7016 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.5025, allocations: 0.7501 MB / 0.7023 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.5029, allocations: 158.5 kB / 0.7024 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007373/0.5036, allocations: 382.1 kB / 0.7028 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.5037, allocations: 17.8 kB / 0.7028 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.5041, allocations: 147.5 kB / 0.703 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.5045, allocations: 203.3 kB / 0.7032 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.5045, allocations: 12 kB / 0.7032 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.506, allocations: 0.7175 MB / 0.7039 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.5061, allocations: 39.89 kB / 0.7039 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.5063, allocations: 111.5 kB / 0.704 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.5074, allocations: 496.3 kB / 0.7045 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5074, allocations: 0 / 0.7045 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5074, allocations: 4 kB / 0.7045 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.5074, allocations: 0 / 0.7045 GB, free: 0.6133 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00131/0.5087, allocations: 0.5285 MB / 0.705 GB, free: 56 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5088, allocations: 8.031 kB / 0.705 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.5089, allocations: 62.73 kB / 0.7051 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.509, allocations: 32.77 kB / 0.7051 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.5094, allocations: 178.2 kB / 0.7053 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.5097, allocations: 226.6 kB / 0.7055 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.5097, allocations: 28.12 kB / 0.7055 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.5103, allocations: 330 kB / 0.7058 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5103, allocations: 0 / 0.7058 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.5103, allocations: 8 kB / 0.7058 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.5103, allocations: 11.94 kB / 0.7059 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.5113, allocations: 0.7586 MB / 0.7066 GB, free: 14.32 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.5127, allocations: 1.205 MB / 0.7078 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.5131, allocations: 171.6 kB / 0.7079 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.5133, allocations: 77.48 kB / 0.708 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.5147, allocations: 0.692 MB / 0.7087 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.5148, allocations: 34.56 kB / 0.7087 GB, free: 12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.5148, allocations: 3.938 kB / 0.7087 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007357/0.5155, allocations: 221 kB / 0.7089 GB, free: 11.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.5156, allocations: 59.39 kB / 0.709 GB, free: 11.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.5158, allocations: 215.8 kB / 0.7092 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5158, allocations: 25.7 kB / 0.7092 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.516, allocations: 227.5 kB / 0.7094 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.516, allocations: 55.61 kB / 0.7095 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.5161, allocations: 86.03 kB / 0.7096 GB, free: 11.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5163, allocations: 326.8 kB / 0.7099 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.654e-05/0.5164, allocations: 44.84 kB / 0.7099 GB, free: 10.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.5167, allocations: 318.6 kB / 0.7102 GB, free: 10.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.5172, allocations: 436.3 kB / 0.7106 GB, free: 9.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5172, allocations: 0 / 0.7106 GB, free: 9.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005926/0.5178, allocations: 377.8 kB / 0.711 GB, free: 9.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5178, allocations: 12 kB / 0.711 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5178, allocations: 8 kB / 0.711 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.5179, allocations: 15.94 kB / 0.711 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.5182, allocations: 107.8 kB / 0.7111 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.5182, allocations: 19.92 kB / 0.7112 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.5185, allocations: 12 kB / 0.7112 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.5185, allocations: 35.92 kB / 0.7112 GB, free: 9.129 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * 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.0001421/0.5187, allocations: 157.5 kB / 0.7114 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.5187, allocations: 19.94 kB / 0.7114 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.519, allocations: 151.7 kB / 0.7115 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.519, allocations: 4 kB / 0.7115 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.519, allocations: 4 kB / 0.7115 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.519, allocations: 7.984 kB / 0.7115 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.5196, allocations: 407.2 kB / 0.7119 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5196, allocations: 0 / 0.7119 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.5198, allocations: 35.92 kB / 0.712 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5198, allocations: 0 / 0.712 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5198, allocations: 0 / 0.712 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5198, allocations: 4 kB / 0.712 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5198, allocations: 0 / 0.712 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.5201, allocations: 236.9 kB / 0.7122 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.5201, allocations: 23.88 kB / 0.7122 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.5202, allocations: 7.953 kB / 0.7122 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.5204, allocations: 4 kB / 0.7122 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.5204, allocations: 7.984 kB / 0.7122 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.5204, allocations: 19.98 kB / 0.7122 GB, free: 7.965 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001351/0.5205, allocations: 148.5 kB / 0.7124 GB, free: 7.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5205, allocations: 0 / 0.7124 GB, free: 7.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000497/0.521, allocations: 95.88 kB / 0.7125 GB, free: 7.727 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * 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.0007361/0.5218, allocations: 0.8115 MB / 0.7133 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.5221, allocations: 173.2 kB / 0.7134 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5221, allocations: 0.8125 kB / 0.7134 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.5221, allocations: 39.86 kB / 0.7135 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.5226, allocations: 48.56 kB / 0.7135 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.5257, allocations: 2.731 MB / 0.7162 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.5261, allocations: 0.7206 MB / 0.7169 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.5263, allocations: 62.91 kB / 0.717 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5264, allocations: 59.42 kB / 0.717 GB, free: 2.672 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.5264, allocations: 0 / 0.717 GB, free: 2.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.5591, allocations: 5.694 MB / 0.7226 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.71, allocations: 15.34 kB / 0.7226 GB, free: 13.11 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.963256826158613]