Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.2 MB / 257.8 MB, free: 8.477 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2308/0.2308, allocations: 46.89 MB / 361.1 MB, free: 4.617 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-beta.om/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=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 75.88 kB / 0.4967 GB, free: 8.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3393, allocations: 65.97 MB / 0.5612 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002265/0.3416, allocations: 1.746 MB / 0.5629 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000127/0.3417, allocations: 84.59 kB / 0.563 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.3418, allocations: 0.7188 kB / 0.563 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/0.3418, allocations: 17.56 kB / 0.563 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.3419, allocations: 25.59 kB / 0.563 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.157e-05/0.342, allocations: 25.75 kB / 0.563 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.638e-05/0.3421, allocations: 101.3 kB / 0.5631 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3422, allocations: 50.58 kB / 0.5632 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.3422, allocations: 37.92 kB / 0.5632 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.3423, allocations: 48.33 kB / 0.5633 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3423, allocations: 10.66 kB / 0.5633 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.3423, allocations: 10.81 kB / 0.5633 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.3423, allocations: 22.62 kB / 0.5633 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3424, allocations: 47.52 kB / 0.5633 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.3425, allocations: 127.8 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3425, allocations: 0 / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3425, allocations: 3.938 kB / 0.5635 GB, free: 32.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3425, allocations: 0 / 0.5635 GB, free: 32.93 MB / 446.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.0003867/0.3429, allocations: 401 kB / 0.5638 GB, free: 32.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3429, allocations: 9.344 kB / 0.5639 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.343, allocations: 11.81 kB / 0.5639 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.3431, allocations: 171.2 kB / 0.564 GB, free: 32.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3431, allocations: 10.77 kB / 0.564 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3431, allocations: 12.59 kB / 0.5641 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.3433, allocations: 132 kB / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3433, allocations: 192 / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3433, allocations: 8.438 kB / 0.5642 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3433, allocations: 3.656 kB / 0.5642 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3434, allocations: 64.09 kB / 0.5643 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.3441, allocations: 0.725 MB / 0.565 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.3441, allocations: 172.1 kB / 0.5651 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.3441, allocations: 81.89 kB / 0.5652 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3442, allocations: 75.28 kB / 0.5653 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3442, allocations: 111.4 kB / 0.5654 GB, free: 31.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.3442, allocations: 0 / 0.5654 GB, free: 31.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.511e-05/0.3443, allocations: 35.92 kB / 0.5654 GB, free: 31.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.3443, allocations: 52.59 kB / 0.5655 GB, free: 31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3444, allocations: 154.8 kB / 0.5656 GB, free: 30.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.3444, allocations: 25.7 kB / 0.5656 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.3445, allocations: 121.3 kB / 0.5658 GB, free: 30.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.3445, allocations: 4.781 kB / 0.5658 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.3445, allocations: 29.64 kB / 0.5658 GB, free: 30.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.3446, allocations: 318.8 kB / 0.5661 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.3446, allocations: 3.094 kB / 0.5661 GB, free: 30.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.3446, allocations: 46.33 kB / 0.5661 GB, free: 30.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.3447, allocations: 55.69 kB / 0.5662 GB, free: 30.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3447, allocations: 3.156 kB / 0.5662 GB, free: 30.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001199/0.3448, allocations: 72.84 kB / 0.5663 GB, free: 30.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3448, allocations: 10.2 kB / 0.5663 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3448, allocations: 0 / 0.5663 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3448, allocations: 3.281 kB / 0.5663 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.3449, allocations: 15.59 kB / 0.5663 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3449, allocations: 0 / 0.5663 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.345, allocations: 11.08 kB / 0.5663 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.345, allocations: 3.156 kB / 0.5663 GB, free: 30.21 MB / 446.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 6.381e-05/0.345, allocations: 202.3 kB / 0.5665 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.3451, allocations: 116.5 kB / 0.5666 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.3451, allocations: 115.8 kB / 0.5667 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.3451, allocations: 176.3 kB / 0.5669 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.3452, allocations: 108.3 kB / 0.567 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.3452, allocations: 191.4 kB / 0.5672 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.3453, allocations: 180.2 kB / 0.5673 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.3453, allocations: 108.5 kB / 0.5674 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.3454, allocations: 183 kB / 0.5676 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.769e-05/0.3454, allocations: 259.7 kB / 0.5679 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.2e-05/0.3455, allocations: 392.8 kB / 0.5682 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.246e-05/0.3455, allocations: 111.9 kB / 0.5684 GB, free: 28.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.3456, allocations: 115.1 kB / 0.5685 GB, free: 27.96 MB / 446.1 MB Notification: Performance of Backend: time 2.61e-07/0.3456, allocations: 0 / 0.5685 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004706/0.3461, allocations: 91.94 kB / 0.5685 GB, free: 27.88 MB / 446.1 MB Notification: Performance of SimCode: time 0.0005327/0.3466, allocations: 0.9223 MB / 0.5694 GB, free: 26.96 MB / 446.1 MB Notification: Performance of Templates: time 0.003587/0.3502, allocations: 473.5 kB / 0.5699 GB, free: 26.89 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.838683485984802]