Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 114.5 kB / 18.46 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1983/0.1983, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 76.11 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3072, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001582/0.3088, allocations: 498.3 kB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.311, allocations: 1.264 MB / 0.5333 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.3111, allocations: 0 / 0.5333 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3111, allocations: 3.938 kB / 0.5333 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.3113, allocations: 6.594 kB / 0.5334 GB, free: 12.24 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:455:3-487: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.001156/0.3125, allocations: 244.9 kB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.3126, allocations: 4.125 kB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.3126, allocations: 5.359 kB / 0.5336 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.3126, allocations: 5.375 kB / 0.5336 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.3127, allocations: 15.98 kB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.705e-06/0.3127, allocations: 1.375 kB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.3158, allocations: 0.6769 MB / 0.5343 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.3158, allocations: 5.312 kB / 0.5343 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.3158, allocations: 1.375 kB / 0.5343 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.3161, allocations: 174.5 kB / 0.5345 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3162, allocations: 0 / 0.5345 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.771e-06/0.3162, allocations: 1.125 kB / 0.5345 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3162, allocations: 3.938 kB / 0.5345 GB, free: 11.67 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.0004336/0.3166, allocations: 384.8 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3167, allocations: 9.062 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.3167, allocations: 2.25 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.3169, allocations: 166.2 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3169, allocations: 384 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3169, allocations: 4.359 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.317, allocations: 33.3 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.317, allocations: 0 / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3171, allocations: 0 / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3171, allocations: 5.125 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.3171, allocations: 4.719 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.3172, allocations: 151.7 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.581e-05/0.3173, allocations: 20.83 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.3173, allocations: 6.453 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-06/0.3173, allocations: 3.984 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.3174, allocations: 65.55 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3174, allocations: 1.031 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.3176, allocations: 72.27 kB / 0.5353 GB, free: 10.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3176, allocations: 82.42 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.3177, allocations: 96.73 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3177, allocations: 25.7 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.3178, allocations: 80.14 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.3178, allocations: 1.312 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3178, allocations: 11.97 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.318, allocations: 314.8 kB / 0.5359 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.318, allocations: 6.281 kB / 0.5359 GB, free: 9.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-06/0.318, allocations: 1.625 kB / 0.5359 GB, free: 9.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.318, allocations: 67.05 kB / 0.536 GB, free: 9.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3181, allocations: 0 / 0.536 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.47e-05/0.3181, allocations: 64.53 kB / 0.5361 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.3182, allocations: 42.28 kB / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3182, allocations: 0.9375 kB / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3182, allocations: 0 / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3182, allocations: 96 / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3182, allocations: 5.25 kB / 0.5361 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.3182, allocations: 0 / 0.5361 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3183, allocations: 1.281 kB / 0.5361 GB, free: 9.785 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.785e-05/0.3184, allocations: 142 kB / 0.5362 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.3184, allocations: 5.281 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-06/0.3184, allocations: 3.125 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3184, allocations: 5.297 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3184, allocations: 0 / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.3185, allocations: 77.11 kB / 0.5363 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3185, allocations: 5.281 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.3185, allocations: 1.312 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.3185, allocations: 3.938 kB / 0.5363 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001355/0.3187, allocations: 196.5 kB / 0.5365 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001626/0.3188, allocations: 241.4 kB / 0.5368 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.247e-05/0.3189, allocations: 10.67 kB / 0.5368 GB, free: 9.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.3189, allocations: 76.56 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3189, allocations: 0 / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3199, allocations: 373.7 kB / 0.5372 GB, free: 8.75 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003743/0.3203, allocations: 0.58 MB / 0.5378 GB, free: 8.117 MB / 398.1 MB Notification: Performance of Templates: time 0.005031/0.3254, allocations: 1.616 MB / 0.5393 GB, free: 7.262 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches