Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 46.97 MB / 361.6 MB, free: 4.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2972, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003036/0.3002, allocations: 1.67 MB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.3004, allocations: 71.73 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.3004, allocations: 4 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.697e-05/0.3005, allocations: 11.86 kB / 0.5635 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.3006, allocations: 23.78 kB / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.596e-05/0.3007, allocations: 23.97 kB / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3008, allocations: 107.5 kB / 0.5637 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.301, allocations: 43.95 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.301, allocations: 47.86 kB / 0.5638 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.3011, allocations: 43.84 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3011, allocations: 11.94 kB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.3012, allocations: 12 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.3012, allocations: 19.98 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.3012, allocations: 43.8 kB / 0.5639 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.3014, allocations: 126 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3014, allocations: 0 / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3014, allocations: 0 / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3014, allocations: 0 / 0.564 GB, free: 1.926 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.0004916/0.3019, allocations: 326.2 kB / 0.5643 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.302, allocations: 8.031 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.302, allocations: 16.84 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3022, allocations: 118.4 kB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3022, allocations: 8.609 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3022, allocations: 12.38 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3024, allocations: 125.6 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3024, allocations: 192 / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3025, allocations: 11.94 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3025, allocations: 0 / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3026, allocations: 71.91 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.3034, allocations: 0.6296 MB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.282e-05/0.3035, allocations: 165.1 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.3035, allocations: 84.14 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.3036, allocations: 75.28 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.3036, allocations: 109.8 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3036, allocations: 0 / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.374e-05/0.3037, allocations: 37.58 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3038, allocations: 51.41 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3039, allocations: 133.7 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3039, allocations: 25.7 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.304, allocations: 131.9 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-06/0.304, allocations: 4 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.304, allocations: 17.72 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3042, allocations: 322.8 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.3042, allocations: 8 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.3042, allocations: 37.16 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.3043, allocations: 61.02 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3043, allocations: 0 / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001465/0.3045, allocations: 73.56 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3045, allocations: 4 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3045, allocations: 0 / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3045, allocations: 4.188 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.3045, allocations: 12 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3046, allocations: 4 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.3046, allocations: 12.08 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3046, allocations: 4 kB / 0.5666 GB, free: 15.02 MB / 414.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.0001261/0.3047, allocations: 201 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.3048, allocations: 110 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.3049, allocations: 112.2 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.938e-05/0.305, allocations: 184.2 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/0.305, allocations: 105 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.3051, allocations: 112.9 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.3052, allocations: 180.3 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.3053, allocations: 104.9 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.3053, allocations: 184.2 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001122/0.3055, allocations: 259.7 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002001/0.3057, allocations: 383.1 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.049e-05/0.3057, allocations: 104.9 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.3058, allocations: 103.6 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Backend: time 2.8e-07/0.3058, allocations: 0 / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.3061, allocations: 98.52 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007099/0.3068, allocations: 0.9114 MB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.002666/0.3095, allocations: 433 kB / 0.57 GB, free: 11.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.773792837004294]