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.001005/0.001005, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.00239, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009803/0.0009803, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002312, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0912/1.097, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2394/0.2394, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02167/0.2611, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.7 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 1.302e-06/1.302e-06, allocations: 0 / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.629e-05, allocations: 3.734 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001844/0.001861, allocations: 1.806 MB / 294.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.001967, allocations: 79.66 kB / 294.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.002008, allocations: 4 kB / 294.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.002049, allocations: 15.8 kB / 294.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.002086, allocations: 23.78 kB / 294.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.897e-05/0.002135, allocations: 19.97 kB / 294.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.002231, allocations: 115.5 kB / 294.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.002344, allocations: 36.47 kB / 294.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.002418, allocations: 71.88 kB / 295 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.002496, allocations: 35.89 kB / 295 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.002517, allocations: 8 kB / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.00253, allocations: 12 kB / 295 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.002553, allocations: 15.94 kB / 295 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.002582, allocations: 31.94 kB / 295.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002691, allocations: 63.77 kB / 295.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.002703, allocations: 0 / 295.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002703, allocations: 4 kB / 295.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.002711, allocations: 4 kB / 295.1 MB, free: 3.867 MB / 282.7 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.0003347/0.003046, allocations: 325.7 kB / 295.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.003073, allocations: 8.031 kB / 295.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.003101, allocations: 16.92 kB / 295.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.003179, allocations: 117.7 kB / 295.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.003189, allocations: 4.609 kB / 295.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.003203, allocations: 12.38 kB / 295.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.00331, allocations: 105.5 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003318, allocations: 4.125 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.003327, allocations: 12.3 kB / 295.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003333, allocations: 8.375 kB / 295.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.003368, allocations: 29.55 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.003788, allocations: 0.5633 MB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.426e-05/0.003842, allocations: 169.2 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.003861, allocations: 84.12 kB / 296.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.003879, allocations: 79.28 kB / 296.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.003913, allocations: 117.7 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.003914, allocations: 4 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.672e-05/0.003961, allocations: 25.7 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.004, allocations: 134.7 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.004073, allocations: 118.6 kB / 297.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.004079, allocations: 25.7 kB / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.004132, allocations: 135.9 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.004135, allocations: 0 / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.004159, allocations: 17.72 kB / 297.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.004239, allocations: 322.8 kB / 297.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.004247, allocations: 4 kB / 297.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.004271, allocations: 37.09 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.004323, allocations: 57.08 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.004326, allocations: 0 / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.793e-05/0.004414, allocations: 65.5 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.004429, allocations: 9.75 kB / 297.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.004437, allocations: 3.984 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.004451, allocations: 4 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.00451, allocations: 11.94 kB / 297.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.004515, allocations: 4 kB / 297.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.004538, allocations: 11.89 kB / 297.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-06/0.004541, allocations: 0 / 297.7 MB, free: 1.043 MB / 282.7 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 8.123e-05/0.004622, allocations: 193.1 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.004668, allocations: 112.9 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.004715, allocations: 108.4 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/0.004759, allocations: 180.3 kB / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.861e-05/0.004808, allocations: 188.3 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/0.00485, allocations: 188.4 kB / 298.7 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.005, allocations: 333.4 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.005025, allocations: 104.9 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.005049, allocations: 101 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.005084, allocations: 108.9 kB / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/0.005127, allocations: 180.2 kB / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.005171, allocations: 188.2 kB / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.564e-05/0.005216, allocations: 180.2 kB / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.868e-05/0.005275, allocations: 180.3 kB / 300 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304e-05/0.005358, allocations: 315.7 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.005428, allocations: 180.2 kB / 300.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.005481, allocations: 108.9 kB / 300.6 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.005518, allocations: 176.3 kB / 300.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.005537, allocations: 104.9 kB / 300.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.136e-05/0.005558, allocations: 20.84 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005558, allocations: 0 / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001231/0.005681, allocations: 23.89 kB / 301 MB, free: 13.66 MB / 298.7 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 7.261e-05/0.005754, allocations: 147.7 kB / 301.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.661e-05/0.00581, allocations: 28.78 kB / 301.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.005814, allocations: 3.938 kB / 301.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.005816, allocations: 0 / 301.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.006076, allocations: 471.7 kB / 301.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.006529, allocations: 247.6 kB / 301.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.131e-05/0.00656, allocations: 59.34 kB / 301.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.006583, allocations: 9.312 kB / 301.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.006614, allocations: 47.38 kB / 301.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.723e-06/0.006616, allocations: 0 / 301.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Templates: time 0.001532/0.008148, allocations: 286.6 kB / 302.2 MB, free: 12.33 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.828765321522951]