Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3392, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002889/0.3421, allocations: 1.734 MB / 0.5333 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.3423, allocations: 68.42 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.3424, allocations: 1.469 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.3425, allocations: 14.42 kB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.3425, allocations: 22.28 kB / 0.5334 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.27e-05/0.3426, allocations: 26.56 kB / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3428, allocations: 103.5 kB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.343, allocations: 60.83 kB / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.343, allocations: 40.42 kB / 0.5336 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.3431, allocations: 47.47 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3432, allocations: 10.88 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.3432, allocations: 10.5 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.3432, allocations: 23.48 kB / 0.5337 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.3433, allocations: 51.77 kB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3434, allocations: 123.7 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3435, allocations: 0 / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3435, allocations: 0 / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3435, allocations: 0 / 0.5339 GB, free: 11.85 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004833/0.344, allocations: 399.3 kB / 0.5343 GB, free: 11.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.344, allocations: 10.03 kB / 0.5343 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3441, allocations: 15.41 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3442, allocations: 178 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3442, allocations: 9.234 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3442, allocations: 12.03 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3445, allocations: 130.4 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3445, allocations: 1.531 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3445, allocations: 9.094 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3445, allocations: 10.7 kB / 0.5346 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3446, allocations: 65.67 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.3454, allocations: 0.7152 MB / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.3455, allocations: 174.5 kB / 0.5356 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.3456, allocations: 84.14 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.3456, allocations: 79.27 kB / 0.5357 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.3457, allocations: 107.2 kB / 0.5358 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3457, allocations: 0 / 0.5358 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.145e-05/0.3457, allocations: 37.67 kB / 0.5359 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.3458, allocations: 130.7 kB / 0.536 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.346, allocations: 147.3 kB / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.346, allocations: 27.08 kB / 0.5362 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.3461, allocations: 129 kB / 0.5363 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.3461, allocations: 1.375 kB / 0.5363 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3461, allocations: 17.84 kB / 0.5363 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3462, allocations: 325.5 kB / 0.5366 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.3462, allocations: 6.75 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.3463, allocations: 43.97 kB / 0.5367 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.554e-05/0.3464, allocations: 64.02 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3464, allocations: 0 / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000139/0.3465, allocations: 75.59 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3465, allocations: 5.5 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3466, allocations: 1.375 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3466, allocations: 1.562 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.3466, allocations: 13.62 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3467, allocations: 1.375 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.3467, allocations: 8.031 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.3467, allocations: 6.688 kB / 0.5368 GB, free: 8.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001084/0.3468, allocations: 201.1 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.3469, allocations: 109.1 kB / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.347, allocations: 111.4 kB / 0.5372 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/0.347, allocations: 184.2 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.571e-05/0.3471, allocations: 181.6 kB / 0.5376 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-05/0.3472, allocations: 189.6 kB / 0.5378 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.3474, allocations: 437.6 kB / 0.5382 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/0.3475, allocations: 101 kB / 0.5383 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.3475, allocations: 110.3 kB / 0.5384 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.446e-05/0.3476, allocations: 177.8 kB / 0.5385 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.3477, allocations: 188.3 kB / 0.5387 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.461e-05/0.3477, allocations: 189.6 kB / 0.5389 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-05/0.3478, allocations: 177.6 kB / 0.5391 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.3479, allocations: 317.1 kB / 0.5394 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.348, allocations: 192.7 kB / 0.5396 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.3481, allocations: 177.6 kB / 0.5397 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.3482, allocations: 101 kB / 0.5398 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.3483, allocations: 181.6 kB / 0.54 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.3483, allocations: 110.4 kB / 0.5401 GB, free: 5.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.427e-05/0.3484, allocations: 115.4 kB / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3484, allocations: 0 / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.3487, allocations: 13.75 kB / 0.5402 GB, free: 5.266 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001197/0.3488, allocations: 170.9 kB / 0.5404 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.121e-05/0.3489, allocations: 18.92 kB / 0.5404 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3489, allocations: 384 / 0.5404 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/0.3489, allocations: 13.25 kB / 0.5404 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3493, allocations: 462.5 kB / 0.5409 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.3496, allocations: 267.2 kB / 0.5411 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3499, allocations: 0.6984 MB / 0.5418 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.3499, allocations: 9.531 kB / 0.5418 GB, free: 3.656 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3499, allocations: 1.062 kB / 0.5418 GB, free: 3.656 MB / 398.1 MB Notification: Performance of Templates: time 0.002145/0.3521, allocations: 0.8504 MB / 0.5426 GB, free: 3.223 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches