Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 187.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2122/0.2122, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4222, allocations: 60.82 MB / 0.5196 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001557/0.4238, allocations: 493.5 kB / 0.52 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.4256, allocations: 1.263 MB / 0.5213 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.4257, allocations: 0 / 0.5213 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.4257, allocations: 0 / 0.5213 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.4259, allocations: 3.25 kB / 0.5213 GB, free: 2.711 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:456:3-488:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.427, allocations: 263.4 kB / 0.5215 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.219e-05/0.4271, allocations: 8.25 kB / 0.5215 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.4271, allocations: 1.969 kB / 0.5215 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.4272, allocations: 6.203 kB / 0.5215 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.4273, allocations: 5.203 kB / 0.5215 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.4273, allocations: 0 / 0.5215 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.4303, allocations: 0.6818 MB / 0.5222 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.4303, allocations: 5.203 kB / 0.5222 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.4304, allocations: 4.625 kB / 0.5222 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.4307, allocations: 178.9 kB / 0.5224 GB, free: 2.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4307, allocations: 0 / 0.5224 GB, free: 2.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4307, allocations: 0 / 0.5224 GB, free: 2.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4307, allocations: 1.219 kB / 0.5224 GB, free: 2.32 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.0003292/0.431, allocations: 384.7 kB / 0.5227 GB, free: 1.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4311, allocations: 11.91 kB / 0.5228 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.4311, allocations: 1.969 kB / 0.5228 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.4312, allocations: 166.9 kB / 0.5229 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4312, allocations: 5.688 kB / 0.5229 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.4313, allocations: 384 / 0.5229 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.4313, allocations: 34.17 kB / 0.523 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4314, allocations: 0 / 0.523 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.4314, allocations: 3.938 kB / 0.523 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4314, allocations: 1.938 kB / 0.523 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.4314, allocations: 5.281 kB / 0.523 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.656e-05/0.4315, allocations: 149.2 kB / 0.5231 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.4315, allocations: 18.17 kB / 0.5231 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.4316, allocations: 5.922 kB / 0.5231 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.4316, allocations: 4.875 kB / 0.5231 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4316, allocations: 66.58 kB / 0.5232 GB, free: 1.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.4316, allocations: 0 / 0.5232 GB, free: 1.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.4318, allocations: 71.03 kB / 0.5233 GB, free: 1.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.4318, allocations: 78.42 kB / 0.5233 GB, free: 1.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.4319, allocations: 97.39 kB / 0.5234 GB, free: 1.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.4319, allocations: 25.7 kB / 0.5235 GB, free: 1.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.571e-05/0.4319, allocations: 86 kB / 0.5235 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.4319, allocations: 4.875 kB / 0.5235 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.432, allocations: 12.67 kB / 0.5236 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.432, allocations: 315.8 kB / 0.5239 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.432, allocations: 1.25 kB / 0.5239 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.432, allocations: 2.062 kB / 0.5239 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.4321, allocations: 68.98 kB / 0.5239 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4321, allocations: 0 / 0.5239 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.018e-05/0.4322, allocations: 62.06 kB / 0.524 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4322, allocations: 35.84 kB / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4322, allocations: 0 / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4322, allocations: 5.672 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.4322, allocations: 0 / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4322, allocations: 0.6094 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.4322, allocations: 1.25 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.4323, allocations: 1.094 kB / 0.524 GB, free: 476 kB / 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.737e-05/0.4323, allocations: 139 kB / 0.5242 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.4323, allocations: 5.703 kB / 0.5242 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.4324, allocations: 8.172 kB / 0.5242 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4324, allocations: 0.5625 kB / 0.5242 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4324, allocations: 4 kB / 0.5242 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.4324, allocations: 79.23 kB / 0.5243 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.4324, allocations: 1.969 kB / 0.5243 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.4324, allocations: 0 / 0.5243 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.4324, allocations: 5.062 kB / 0.5243 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001115/0.4326, allocations: 198.5 kB / 0.5245 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001423/0.4327, allocations: 245.2 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.987e-05/0.4327, allocations: 2.875 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.4328, allocations: 77.09 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of Backend: time 1.683e-06/0.4328, allocations: 5.156 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00095/0.4337, allocations: 382.3 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003667/0.4341, allocations: 0.5904 MB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of Templates: time 0.005148/0.4393, allocations: 1.603 MB / 0.5273 GB, free: 14.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches