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.001215/0.001215, allocations: 107.8 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.001364/0.001364, allocations: 207.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.378/1.378, 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.2225/0.2225, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 79.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3315, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002572/0.3341, allocations: 1.728 MB / 0.5333 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001537/0.3343, allocations: 73.36 kB / 0.5334 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.3343, allocations: 5.375 kB / 0.5334 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.3344, allocations: 18.59 kB / 0.5334 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.3345, allocations: 26.47 kB / 0.5335 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.517e-05/0.3346, allocations: 18.73 kB / 0.5335 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.3347, allocations: 103.5 kB / 0.5336 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3348, allocations: 61.39 kB / 0.5336 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.3349, allocations: 38.95 kB / 0.5337 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.335, allocations: 48.11 kB / 0.5337 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.335, allocations: 10.97 kB / 0.5337 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.335, allocations: 10.28 kB / 0.5337 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.3351, allocations: 18.94 kB / 0.5338 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.3351, allocations: 55.39 kB / 0.5338 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3353, allocations: 126 kB / 0.5339 GB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3353, allocations: 0 / 0.5339 GB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3353, allocations: 0 / 0.5339 GB, free: 12.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3353, allocations: 3.938 kB / 0.5339 GB, free: 12.02 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.0004251/0.3357, allocations: 395 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3358, allocations: 7.844 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.3358, allocations: 19.05 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3359, allocations: 170.5 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3359, allocations: 14.17 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.336, allocations: 11.06 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3362, allocations: 131.9 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3362, allocations: 192 / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3362, allocations: 9.25 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3362, allocations: 2.75 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3363, allocations: 68.56 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.3371, allocations: 0.7235 MB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.3372, allocations: 166.3 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.3373, allocations: 81.33 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3373, allocations: 79.28 kB / 0.5357 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.3373, allocations: 111 kB / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.3373, allocations: 0 / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.64e-05/0.3374, allocations: 36.98 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.3375, allocations: 51.41 kB / 0.5359 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3376, allocations: 149.5 kB / 0.5361 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3376, allocations: 26.92 kB / 0.5361 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.3377, allocations: 129.8 kB / 0.5362 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.3377, allocations: 0 / 0.5362 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.3378, allocations: 19.22 kB / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3379, allocations: 323.9 kB / 0.5365 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.3379, allocations: 4.562 kB / 0.5366 GB, free: 9.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.3379, allocations: 44.02 kB / 0.5366 GB, free: 9.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.338, allocations: 62.91 kB / 0.5367 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.338, allocations: 0 / 0.5367 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001381/0.3382, allocations: 79.78 kB / 0.5367 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3382, allocations: 5.5 kB / 0.5367 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3382, allocations: 1.375 kB / 0.5367 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3382, allocations: 1.375 kB / 0.5367 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.3383, allocations: 9.625 kB / 0.5367 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3383, allocations: 5.359 kB / 0.5368 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.3384, allocations: 8.031 kB / 0.5368 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3384, allocations: 2.75 kB / 0.5368 GB, free: 9.16 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.0001072/0.3385, allocations: 209.2 kB / 0.537 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.3386, allocations: 105.1 kB / 0.5371 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.3386, allocations: 111.4 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-05/0.3387, allocations: 185.6 kB / 0.5373 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.3387, allocations: 104.9 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.3388, allocations: 196.7 kB / 0.5376 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.3389, allocations: 185.6 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.339, allocations: 105 kB / 0.5379 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.339, allocations: 185.6 kB / 0.5381 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.745e-05/0.3391, allocations: 253.1 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001518/0.3393, allocations: 396.5 kB / 0.5387 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.991e-05/0.3393, allocations: 110.2 kB / 0.5388 GB, free: 6.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.3394, allocations: 111.2 kB / 0.5389 GB, free: 6.871 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3394, allocations: 0 / 0.5389 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.3398, allocations: 90.08 kB / 0.539 GB, free: 6.801 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005871/0.3404, allocations: 0.918 MB / 0.5399 GB, free: 5.875 MB / 398.1 MB Notification: Performance of Templates: time 0.00217/0.3425, allocations: 463.3 kB / 0.5403 GB, free: 5.645 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