Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 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.2178/0.2178, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3765, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001476/0.378, allocations: 0.4899 MB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3793, allocations: 0.7593 MB / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.3793, allocations: 0 / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.3793, allocations: 4 kB / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.3793, allocations: 0 / 0.5329 GB, free: 12.68 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.381, allocations: 0.6562 MB / 0.5335 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.262e-05/0.381, allocations: 9.359 kB / 0.5335 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.3811, allocations: 5.359 kB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.294e-05/0.3811, allocations: 0 / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.366e-05/0.3811, allocations: 1.375 kB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-06/0.3811, allocations: 0 / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006451/0.3818, allocations: 386.9 kB / 0.5339 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.3818, allocations: 4.984 kB / 0.5339 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.3818, allocations: 1.094 kB / 0.5339 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.3823, allocations: 347.9 kB / 0.5342 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3823, allocations: 1.156 kB / 0.5342 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3823, allocations: 4 kB / 0.5342 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3823, allocations: 0 / 0.5342 GB, free: 11.81 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.0003607/0.3827, allocations: 385.2 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3827, allocations: 9.188 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.3827, allocations: 2.156 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.3828, allocations: 160.4 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3829, allocations: 1.469 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3829, allocations: 5.469 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.639e-05/0.3829, allocations: 36.5 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.383, allocations: 192 / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.383, allocations: 3.938 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.383, allocations: 1.094 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.383, allocations: 1.25 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.3831, allocations: 142.8 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.056e-05/0.3832, allocations: 20.86 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.3832, allocations: 13.84 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.3832, allocations: 4 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.3833, allocations: 61.3 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3833, allocations: 1.094 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.3834, allocations: 62.59 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3835, allocations: 81.11 kB / 0.5352 GB, free: 10.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.999e-05/0.3835, allocations: 94.81 kB / 0.5353 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.3835, allocations: 29.64 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.3836, allocations: 81.39 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.3836, allocations: 4 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.3836, allocations: 11.62 kB / 0.5354 GB, free: 10.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.3837, allocations: 311.7 kB / 0.5357 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.3837, allocations: 5 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.3838, allocations: 1.125 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.3838, allocations: 63.36 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3838, allocations: 0 / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.169e-05/0.3839, allocations: 67.11 kB / 0.5358 GB, free: 9.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.3839, allocations: 31.42 kB / 0.5358 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3839, allocations: 0 / 0.5358 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3839, allocations: 3.938 kB / 0.5358 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.3839, allocations: 1.562 kB / 0.5359 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.384, allocations: 0 / 0.5359 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.384, allocations: 0 / 0.5359 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.384, allocations: 1.156 kB / 0.5359 GB, free: 9.945 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 8.026e-05/0.3841, allocations: 150.1 kB / 0.536 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.3841, allocations: 8.031 kB / 0.536 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-06/0.3841, allocations: 8.375 kB / 0.536 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3841, allocations: 0 / 0.536 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3841, allocations: 0 / 0.536 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3841, allocations: 1.438 kB / 0.536 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.939e-05/0.3842, allocations: 143 kB / 0.5361 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3842, allocations: 3.984 kB / 0.5362 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-06/0.3842, allocations: 4 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3842, allocations: 1.219 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3842, allocations: 3.938 kB / 0.5362 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3842, allocations: 5.031 kB / 0.5362 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3842, allocations: 0 / 0.5362 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.779e-05/0.3843, allocations: 94.45 kB / 0.5363 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.3844, allocations: 81.05 kB / 0.5363 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3844, allocations: 5.219 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.3844, allocations: 0 / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.3844, allocations: 1.281 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3844, allocations: 1.344 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.206e-05/0.3845, allocations: 83.22 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3845, allocations: 0 / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.3848, allocations: 83.8 kB / 0.5365 GB, free: 9.258 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.0004932/0.3853, allocations: 225.1 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.821e-05/0.3854, allocations: 60.89 kB / 0.5368 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3854, allocations: 0 / 0.5368 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.3855, allocations: 59.59 kB / 0.5368 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.3856, allocations: 1.375 kB / 0.5368 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001907/0.3858, allocations: 101.7 kB / 0.5369 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.386, allocations: 0.6742 MB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-06/0.386, allocations: 7.438 kB / 0.5376 GB, free: 8.141 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.386, allocations: 1.375 kB / 0.5376 GB, free: 8.141 MB / 398.1 MB Notification: Performance of Templates: time 0.003909/0.3899, allocations: 1.778 MB / 0.5393 GB, free: 7.25 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches