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.001674/0.001674, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002156/0.002156, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.571/1.571, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.2239/0.2239, allocations: 46.97 MB / 361.6 MB, free: 4.02 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.001995/0.001995, allocations: 64.14 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003017/0.3306, allocations: 1.673 MB / 0.5634 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.3308, allocations: 75.67 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.3308, allocations: 8 kB / 0.5635 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.3309, allocations: 11.86 kB / 0.5635 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.3309, allocations: 23.78 kB / 0.5635 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.552e-05/0.331, allocations: 23.97 kB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.3312, allocations: 103.6 kB / 0.5637 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3314, allocations: 51.89 kB / 0.5637 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.3314, allocations: 39.86 kB / 0.5638 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.3315, allocations: 47.78 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.3315, allocations: 12 kB / 0.5638 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.3315, allocations: 8 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.3316, allocations: 31.91 kB / 0.5639 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3316, allocations: 39.86 kB / 0.5639 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.3318, allocations: 121.9 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3318, allocations: 0 / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3318, allocations: 0 / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3318, allocations: 0 / 0.564 GB, free: 1.91 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.0004994/0.3323, allocations: 322.2 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3323, allocations: 12.03 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.3324, allocations: 12.84 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3325, allocations: 118.4 kB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3325, allocations: 12.61 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3325, allocations: 12.38 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3328, allocations: 129.6 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3328, allocations: 192 / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3328, allocations: 7.938 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3328, allocations: 4 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3329, allocations: 67.91 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.3337, allocations: 0.6179 MB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3338, allocations: 177.1 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.3339, allocations: 80.14 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.3339, allocations: 79.27 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.334, allocations: 113.8 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.334, allocations: 3.938 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.699e-05/0.3341, allocations: 29.64 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.3342, allocations: 126.7 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3343, allocations: 125.7 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3343, allocations: 25.7 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.3344, allocations: 135.9 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-06/0.3344, allocations: 8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.3344, allocations: 21.72 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3346, allocations: 318.8 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.3346, allocations: 8 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.3346, allocations: 41.16 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.3347, allocations: 53.03 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3347, allocations: 4 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001523/0.3348, allocations: 73.55 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3349, allocations: 4 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3349, allocations: 4 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3349, allocations: 0 / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.335, allocations: 8 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.335, allocations: 4 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.335, allocations: 12.14 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.335, allocations: 4 kB / 0.5667 GB, free: 14.94 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.0001201/0.3351, allocations: 197.1 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.3352, allocations: 114 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.3353, allocations: 112.2 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8e-05/0.3353, allocations: 184.2 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.44e-05/0.3354, allocations: 180.3 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.587e-05/0.3355, allocations: 180.2 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3357, allocations: 376.7 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.3358, allocations: 109.1 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.3358, allocations: 116.9 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.046e-05/0.3359, allocations: 184.4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/0.336, allocations: 176.3 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.982e-05/0.3361, allocations: 188.6 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.868e-05/0.3361, allocations: 180.2 kB / 0.5689 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3363, allocations: 315.7 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.3364, allocations: 104.9 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.3365, allocations: 192.2 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.3366, allocations: 101 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.3366, allocations: 184.2 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.3367, allocations: 105 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.3368, allocations: 95.27 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3368, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.337, allocations: 23.89 kB / 0.5699 GB, free: 11.4 MB / 414.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.0001216/0.3371, allocations: 166.5 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.333e-05/0.3372, allocations: 19.92 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3372, allocations: 4 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.3372, allocations: 3.938 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3377, allocations: 460 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.3381, allocations: 276.4 kB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.853e-05/0.3382, allocations: 81.31 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.3382, allocations: 11.44 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3382, allocations: 0 / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of Templates: time 0.002236/0.3404, allocations: 0.7979 MB / 0.5717 GB, free: 9.535 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: 7.4990257319877855]