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.001455/0.001454, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 80.06 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3985, 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.002912/0.4015, allocations: 1.732 MB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001735/0.4017, allocations: 80.69 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.4017, allocations: 1.812 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.4018, allocations: 21.72 kB / 0.5334 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.4019, allocations: 20.2 kB / 0.5334 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.373e-05/0.402, allocations: 26.03 kB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.4021, allocations: 98.73 kB / 0.5336 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.4023, allocations: 60.64 kB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.4024, allocations: 40.67 kB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.4025, allocations: 44.22 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.4025, allocations: 13.56 kB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.4025, allocations: 11 kB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.4025, allocations: 22.73 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.4026, allocations: 52.23 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.4028, allocations: 122.9 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4028, allocations: 0 / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4028, allocations: 1.375 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4028, allocations: 3.938 kB / 0.5339 GB, free: 11.84 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.0005294/0.4034, allocations: 395.6 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4034, allocations: 9.625 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4034, allocations: 10.34 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.4036, allocations: 182.9 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4036, allocations: 8.734 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.4036, allocations: 12.62 kB / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.4039, allocations: 134.7 kB / 0.5346 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4039, allocations: 192 / 0.5346 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4039, allocations: 9.312 kB / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4039, allocations: 2.75 kB / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.404, allocations: 60.98 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.4048, allocations: 0.7244 MB / 0.5354 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.4049, allocations: 166.5 kB / 0.5356 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.405, allocations: 84.14 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.405, allocations: 79.28 kB / 0.5357 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.4051, allocations: 115.1 kB / 0.5358 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4051, allocations: 0 / 0.5358 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.144e-05/0.4052, allocations: 33.73 kB / 0.5359 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.4052, allocations: 126.7 kB / 0.536 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.4054, allocations: 153.1 kB / 0.5361 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4054, allocations: 25.7 kB / 0.5362 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.4055, allocations: 126.2 kB / 0.5363 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-06/0.4055, allocations: 1.344 kB / 0.5363 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4055, allocations: 17.72 kB / 0.5363 GB, free: 9.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4056, allocations: 328.6 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.4057, allocations: 4.625 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.4057, allocations: 48.31 kB / 0.5367 GB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.4058, allocations: 58.02 kB / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4058, allocations: 1.125 kB / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001401/0.4059, allocations: 74.31 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.406, allocations: 8.344 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.406, allocations: 2.281 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.406, allocations: 1.406 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.4061, allocations: 9.25 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4061, allocations: 5.062 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.4061, allocations: 11.72 kB / 0.5368 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.4061, allocations: 10.8 kB / 0.5368 GB, free: 8.887 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.0001056/0.4062, allocations: 198.1 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.4063, allocations: 104.2 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.4064, allocations: 115.2 kB / 0.5372 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.387e-05/0.4065, allocations: 181.5 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.74e-05/0.4065, allocations: 189.8 kB / 0.5376 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/0.4066, allocations: 189.5 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.4069, allocations: 436.8 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/0.4069, allocations: 106 kB / 0.5383 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.407, allocations: 101 kB / 0.5384 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-05/0.4071, allocations: 185.8 kB / 0.5386 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/0.4071, allocations: 189.5 kB / 0.5387 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.574e-05/0.4072, allocations: 177.5 kB / 0.5389 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-05/0.4073, allocations: 180.2 kB / 0.5391 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.4074, allocations: 318.1 kB / 0.5394 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.4075, allocations: 187.4 kB / 0.5396 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.4076, allocations: 178.2 kB / 0.5397 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.4077, allocations: 106.2 kB / 0.5398 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.4078, allocations: 180.2 kB / 0.54 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.4079, allocations: 110.2 kB / 0.5401 GB, free: 5.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.781e-05/0.4079, allocations: 109.5 kB / 0.5402 GB, free: 5.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4079, allocations: 4 kB / 0.5402 GB, free: 5.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.4082, allocations: 13.31 kB / 0.5402 GB, free: 5.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: 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.0001189/0.4083, allocations: 167.2 kB / 0.5404 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.4084, allocations: 27.36 kB / 0.5404 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4084, allocations: 0 / 0.5404 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4084, allocations: 0.9375 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.0003756/0.4088, allocations: 466.3 kB / 0.5409 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.4092, allocations: 271.3 kB / 0.5411 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.4095, allocations: 0.6901 MB / 0.5418 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.4095, allocations: 14.62 kB / 0.5418 GB, free: 3.652 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4095, allocations: 4 kB / 0.5418 GB, free: 3.648 MB / 398.1 MB Notification: Performance of Templates: time 0.00224/0.4118, allocations: 0.8557 MB / 0.5427 GB, free: 3.211 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