Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.001328/0.001328, allocations: 185.9 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.406/1.406, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2192/0.2192, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 59.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3699, allocations: 60.82 MB / 0.5195 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00159/0.3715, allocations: 0.4976 MB / 0.52 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3736, allocations: 1.296 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.3736, allocations: 0 / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.3736, allocations: 0 / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.3736, allocations: 0 / 0.5213 GB, free: 2.453 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:4:3-220:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.375, allocations: 0.5735 MB / 0.5219 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.375, allocations: 7.047 kB / 0.5219 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.3751, allocations: 9.719 kB / 0.5219 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.449e-05/0.3751, allocations: 1.031 kB / 0.5219 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.3751, allocations: 0 / 0.5219 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.3751, allocations: 1.156 kB / 0.5219 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.3875, allocations: 2.529 MB / 0.5243 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.3876, allocations: 1.062 kB / 0.5243 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.3876, allocations: 4.547 kB / 0.5243 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.388, allocations: 159.1 kB / 0.5245 GB, free: 1.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.388, allocations: 4 kB / 0.5245 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.388, allocations: 0 / 0.5245 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.388, allocations: 5.156 kB / 0.5245 GB, free: 1.461 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.000291/0.3883, allocations: 376.6 kB / 0.5249 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3884, allocations: 8.5 kB / 0.5249 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3884, allocations: 1.547 kB / 0.5249 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.454e-05/0.3885, allocations: 162.9 kB / 0.525 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3885, allocations: 384 / 0.525 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3885, allocations: 1.75 kB / 0.525 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.931e-05/0.3886, allocations: 40.69 kB / 0.5251 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.3886, allocations: 1.281 kB / 0.5251 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3886, allocations: 0 / 0.5251 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3886, allocations: 0 / 0.5251 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.3887, allocations: 2.219 kB / 0.5251 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.881e-05/0.3888, allocations: 148.6 kB / 0.5252 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.114e-05/0.3888, allocations: 17.08 kB / 0.5252 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.3888, allocations: 7.109 kB / 0.5252 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.3888, allocations: 4 kB / 0.5252 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3889, allocations: 66.58 kB / 0.5253 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.3889, allocations: 0 / 0.5253 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.3891, allocations: 73.27 kB / 0.5254 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.3891, allocations: 77.72 kB / 0.5254 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.61e-05/0.3891, allocations: 91.72 kB / 0.5255 GB, free: 264 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.3891, allocations: 25.7 kB / 0.5256 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.171e-05/0.3892, allocations: 84.27 kB / 0.5256 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.3892, allocations: 5 kB / 0.5256 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3892, allocations: 16.8 kB / 0.5257 GB, free: 120 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3894, allocations: 315.9 kB / 0.526 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.3894, allocations: 1.688 kB / 0.526 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.3894, allocations: 0.9062 kB / 0.526 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.653e-05/0.3895, allocations: 65.3 kB / 0.526 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3895, allocations: 0 / 0.526 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.015e-05/0.3896, allocations: 63.97 kB / 0.5261 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.3896, allocations: 35.55 kB / 0.5261 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3896, allocations: 1.125 kB / 0.5261 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3896, allocations: 0 / 0.5261 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.3896, allocations: 1.859 kB / 0.5261 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3896, allocations: 0 / 0.5261 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.3897, allocations: 4 kB / 0.5261 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3897, allocations: 1.891 kB / 0.5261 GB, free: 15.62 MB / 398.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.0001077/0.3898, allocations: 139.2 kB / 0.5263 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.3898, allocations: 5.156 kB / 0.5263 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.3898, allocations: 7.594 kB / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3898, allocations: 0 / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3899, allocations: 6.344 kB / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.3899, allocations: 77.72 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3899, allocations: 4.938 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.3899, allocations: 1.797 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.3899, allocations: 0 / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001368/0.3901, allocations: 199 kB / 0.5266 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001586/0.3903, allocations: 238.4 kB / 0.5268 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.919e-05/0.3903, allocations: 7 kB / 0.5268 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.999e-05/0.3903, allocations: 75.28 kB / 0.5269 GB, free: 14.83 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3903, allocations: 0 / 0.5269 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.3916, allocations: 444.1 kB / 0.5273 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005025/0.3921, allocations: 0.5907 MB / 0.5279 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.005962/0.3981, allocations: 2.153 MB / 0.53 GB, free: 13.07 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches