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.001094/0.001094, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.316/0.316, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4177, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001583/0.4193, allocations: 490.3 kB / 0.5314 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.4217, allocations: 1.296 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.4217, allocations: 0 / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.4218, allocations: 0 / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.4218, 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.00156/0.4233, allocations: 0.5819 MB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.4234, allocations: 1.375 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.4234, allocations: 5.375 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.4235, allocations: 1.375 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.022e-05/0.4235, allocations: 0 / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.4235, allocations: 1.375 kB / 0.5333 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/0.4364, allocations: 2.526 MB / 0.5357 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.4366, allocations: 5.25 kB / 0.5357 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.4366, allocations: 0 / 0.5357 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.4371, allocations: 167.6 kB / 0.5359 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4371, allocations: 0 / 0.5359 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4371, allocations: 0 / 0.5359 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4372, allocations: 1.031 kB / 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.0004433/0.4376, allocations: 375 kB / 0.5363 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4377, allocations: 9.469 kB / 0.5363 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.4377, allocations: 0.9375 kB / 0.5363 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.4378, allocations: 164.4 kB / 0.5364 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.4378, allocations: 5.531 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.4379, allocations: 9.422 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.438, allocations: 36.17 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.438, allocations: 0 / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.438, allocations: 0 / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.438, allocations: 1.281 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.438, allocations: 1.5 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.4382, allocations: 146.8 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.158e-05/0.4382, allocations: 24.02 kB / 0.5366 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.4382, allocations: 10.05 kB / 0.5367 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.4382, allocations: 1 kB / 0.5367 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.4383, allocations: 65.64 kB / 0.5367 GB, free: 9.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.4383, allocations: 0 / 0.5367 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001844/0.4385, allocations: 62.89 kB / 0.5368 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.4386, allocations: 82.2 kB / 0.5369 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.217e-05/0.4386, allocations: 93.98 kB / 0.5369 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4386, allocations: 25.7 kB / 0.537 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.4387, allocations: 81.39 kB / 0.537 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.4387, allocations: 3.938 kB / 0.537 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.4388, allocations: 12.59 kB / 0.5371 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4389, allocations: 310.8 kB / 0.5374 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.4389, allocations: 0.8438 kB / 0.5374 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.4389, allocations: 5.375 kB / 0.5374 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.439, allocations: 70.94 kB / 0.5374 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.439, allocations: 1.219 kB / 0.5374 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.259e-05/0.4391, allocations: 58.38 kB / 0.5375 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.4391, allocations: 34.89 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4391, allocations: 0 / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4391, allocations: 1.031 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4391, allocations: 0 / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.4392, allocations: 5.141 kB / 0.5375 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.4392, allocations: 0 / 0.5375 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4392, allocations: 4.969 kB / 0.5375 GB, free: 8.992 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.0001098/0.4393, allocations: 141.6 kB / 0.5377 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.4393, allocations: 9.031 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-06/0.4393, allocations: 3.125 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4393, allocations: 1.188 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4393, allocations: 0 / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4394, allocations: 0 / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.4395, allocations: 147.9 kB / 0.5378 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4395, allocations: 0 / 0.5378 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4395, allocations: 4 kB / 0.5378 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.4395, allocations: 9.406 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4395, allocations: 3.938 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4395, allocations: 1.375 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4395, allocations: 0 / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.4396, allocations: 90.3 kB / 0.5379 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.4397, allocations: 84.98 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.4397, allocations: 1.406 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.4397, allocations: 4.031 kB / 0.538 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.4397, allocations: 1.125 kB / 0.538 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4397, allocations: 1.25 kB / 0.538 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.424e-05/0.4398, allocations: 75.28 kB / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4398, allocations: 3.938 kB / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.4401, allocations: 70.11 kB / 0.5382 GB, free: 8.324 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.0008541/0.441, allocations: 392.1 kB / 0.5385 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.4411, allocations: 60.67 kB / 0.5386 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4411, allocations: 0 / 0.5386 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.4412, allocations: 58.38 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.4413, allocations: 6.625 kB / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.4415, allocations: 87.7 kB / 0.5387 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.4417, allocations: 0.675 MB / 0.5394 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.591e-06/0.4417, allocations: 0 / 0.5394 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.4418, allocations: 10.5 kB / 0.5394 GB, free: 7.164 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4418, allocations: 0 / 0.5394 GB, free: 7.164 MB / 398.1 MB Notification: Performance of Templates: time 0.005116/0.4469, allocations: 2.125 MB / 0.5415 GB, free: 6.059 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