Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2433/0.2433, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.81 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.402, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001561/0.4036, allocations: 488.8 kB / 0.5314 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.406, allocations: 1.299 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.406, allocations: 0 / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.4061, allocations: 1.312 kB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.4061, allocations: 0 / 0.5327 GB, free: 12.27 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-219: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.001633/0.4077, allocations: 0.5703 MB / 0.5333 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.4078, allocations: 5.562 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.4078, allocations: 5.5 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.4079, allocations: 0 / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.4079, allocations: 5.297 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-06/0.4079, allocations: 0 / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.4208, allocations: 2.516 MB / 0.5357 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.4209, allocations: 3.938 kB / 0.5357 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.4209, allocations: 5.234 kB / 0.5357 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.4214, allocations: 166.7 kB / 0.5359 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4214, allocations: 1.125 kB / 0.5359 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4214, allocations: 0 / 0.5359 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.4214, allocations: 0 / 0.5359 GB, free: 10.86 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.0003598/0.4218, allocations: 382.8 kB / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4218, allocations: 9.938 kB / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.4219, allocations: 0.9375 kB / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.422, allocations: 160.4 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.422, allocations: 1.438 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.422, allocations: 5.625 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.4221, allocations: 35.8 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4221, allocations: 0 / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4221, allocations: 0.9375 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4221, allocations: 0 / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.4222, allocations: 5.031 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.4223, allocations: 147.7 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/0.4223, allocations: 20.8 kB / 0.5366 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.4224, allocations: 9.766 kB / 0.5366 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.4224, allocations: 0 / 0.5366 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.4224, allocations: 69.2 kB / 0.5367 GB, free: 9.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4224, allocations: 1.156 kB / 0.5367 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000178/0.4226, allocations: 66.33 kB / 0.5368 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4227, allocations: 82.17 kB / 0.5369 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.465e-05/0.4227, allocations: 89.86 kB / 0.5369 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.4228, allocations: 26.95 kB / 0.537 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.4228, allocations: 88.12 kB / 0.5371 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.4228, allocations: 1.094 kB / 0.5371 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.4229, allocations: 11.88 kB / 0.5371 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.423, allocations: 314.8 kB / 0.5374 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.423, allocations: 1.156 kB / 0.5374 GB, free: 9.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.423, allocations: 1.156 kB / 0.5374 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.4231, allocations: 63.61 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4231, allocations: 4.062 kB / 0.5374 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.794e-05/0.4232, allocations: 62.5 kB / 0.5375 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.4232, allocations: 39.25 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4232, allocations: 0 / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4232, allocations: 0.75 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.4232, allocations: 0 / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4232, allocations: 1.062 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.4233, allocations: 8.984 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4233, allocations: 3.984 kB / 0.5375 GB, free: 8.98 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 9.021e-05/0.4234, allocations: 146.6 kB / 0.5377 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.4234, allocations: 3.938 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-06/0.4234, allocations: 3.938 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4234, allocations: 1.062 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4234, allocations: 0 / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4234, allocations: 3.984 kB / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.835e-05/0.4235, allocations: 143.8 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4235, allocations: 0 / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-06/0.4235, allocations: 0.9688 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4235, allocations: 3.938 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.4236, allocations: 9.062 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4236, allocations: 0 / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4236, allocations: 1 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.4237, allocations: 97.19 kB / 0.5379 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.4237, allocations: 86.08 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4237, allocations: 1.25 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.4238, allocations: 0 / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.4238, allocations: 9.109 kB / 0.538 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.4238, allocations: 1.125 kB / 0.538 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.911e-05/0.4238, allocations: 75.28 kB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4238, allocations: 0 / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.4241, allocations: 66.16 kB / 0.5382 GB, free: 8.312 MB / 398.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.0008507/0.425, allocations: 395.8 kB / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.4251, allocations: 56.72 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4251, allocations: 0 / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.4251, allocations: 62.59 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.4253, allocations: 6.125 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.4255, allocations: 83.67 kB / 0.5387 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.4257, allocations: 0.6703 MB / 0.5394 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.921e-06/0.4257, allocations: 4.125 kB / 0.5394 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.4257, allocations: 10 kB / 0.5394 GB, free: 7.156 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4257, allocations: 1.125 kB / 0.5394 GB, free: 7.156 MB / 398.1 MB Notification: Performance of Templates: time 0.005227/0.431, allocations: 2.124 MB / 0.5415 GB, free: 6.051 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches