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.001398/0.001398, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001528/0.001528, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2395/0.2395, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.002089/0.002089, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3238, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003078/0.3269, allocations: 1.678 MB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001689/0.3271, allocations: 75.67 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.3271, allocations: 0 / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.8e-05/0.3272, allocations: 19.84 kB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.3273, allocations: 19.78 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.174e-05/0.3273, allocations: 23.98 kB / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3275, allocations: 107.5 kB / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3277, allocations: 43.95 kB / 0.5637 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.3277, allocations: 39.86 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.3278, allocations: 39.83 kB / 0.5638 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3278, allocations: 12 kB / 0.5638 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.142e-05/0.3278, allocations: 12 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.3279, allocations: 19.92 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.3279, allocations: 39.81 kB / 0.5639 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3281, allocations: 125.9 kB / 0.564 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3281, allocations: 4 kB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3281, allocations: 0 / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3281, allocations: 0 / 0.564 GB, free: 1.934 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.0005011/0.3286, allocations: 326.2 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3286, allocations: 15.95 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3287, allocations: 12.84 kB / 0.5643 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3288, allocations: 118.4 kB / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3288, allocations: 4.609 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3288, allocations: 12.38 kB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.3291, allocations: 129.6 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3291, allocations: 192 / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3291, allocations: 7.938 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3291, allocations: 4 kB / 0.5646 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3292, allocations: 67.92 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.33, allocations: 0.6257 MB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3302, allocations: 173.1 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.3302, allocations: 80.14 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.3302, allocations: 79.28 kB / 0.5656 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.3303, allocations: 105.8 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.3303, allocations: 0 / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.445e-05/0.3304, allocations: 33.64 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/0.3305, allocations: 134.7 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3306, allocations: 125.7 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3306, allocations: 25.7 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.3307, allocations: 135.9 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.3307, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.3307, allocations: 21.66 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3309, allocations: 318.8 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.3309, allocations: 4 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.331, allocations: 45.14 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.331, allocations: 61.03 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.331, allocations: 0 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001424/0.3312, allocations: 69.56 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3312, allocations: 8 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3312, allocations: 4.188 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3312, allocations: 7.984 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.3313, allocations: 12.36 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3313, allocations: 0 / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.3313, allocations: 7.953 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.3314, allocations: 4 kB / 0.5667 GB, free: 14.96 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.00012/0.3315, allocations: 200.9 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.3316, allocations: 114 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.3316, allocations: 112.2 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.681e-05/0.3317, allocations: 184.2 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.625e-05/0.3318, allocations: 180.3 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.24e-05/0.3319, allocations: 176.3 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.3321, allocations: 388.7 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-05/0.3322, allocations: 101.1 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.3323, allocations: 108.9 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.3324, allocations: 180.4 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/0.3325, allocations: 184.2 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.892e-05/0.3326, allocations: 180.3 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-05/0.3326, allocations: 184.3 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.3328, allocations: 311.6 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.3329, allocations: 112.9 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.333, allocations: 184.3 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3331, allocations: 101 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.3332, allocations: 188.2 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.3332, allocations: 101 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.3333, allocations: 95.27 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3333, allocations: 0 / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3336, allocations: 23.89 kB / 0.5699 GB, free: 11.43 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.0001295/0.3337, allocations: 170.5 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.355e-05/0.3338, allocations: 24.19 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3338, allocations: 0 / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.3338, allocations: 3.938 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.3342, allocations: 459.6 kB / 0.5705 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.3347, allocations: 280.4 kB / 0.5708 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.838e-05/0.3347, allocations: 77.33 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.3348, allocations: 11.42 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3348, allocations: 4.125 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of Templates: time 0.002293/0.3371, allocations: 0.8018 MB / 0.5717 GB, free: 9.551 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.340156763792038]