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.001014/0.001014, allocations: 83.69 kB / 21.43 MB, free: 3.121 MB / 18.57 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.003535/0.003535, allocations: 162.6 kB / 24.7 MB, free: 9.406 MB / 18.57 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 0.864/0.864, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.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.2474/0.2474, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.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.894e-06/1.894e-06, allocations: 0 / 443.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.404e-05, allocations: 2.281 kB / 443.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.1974/0.1974, allocations: 1.674 MB / 445.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.1976, allocations: 72.23 kB / 445.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.1976, allocations: 2.875 kB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.1977, allocations: 18.66 kB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.1977, allocations: 27.5 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.377e-05/0.1978, allocations: 18.39 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.1979, allocations: 104.9 kB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.198, allocations: 46.3 kB / 445.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.1981, allocations: 64.53 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.1982, allocations: 29.64 kB / 445.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1982, allocations: 11.69 kB / 445.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-06/0.1982, allocations: 11.75 kB / 445.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.1982, allocations: 27.02 kB / 445.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.1982, allocations: 35.33 kB / 445.5 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1983, allocations: 123.5 kB / 445.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1984, allocations: 0 / 445.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1984, allocations: 2.812 kB / 445.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1984, allocations: 0 / 445.7 MB, free: 43.62 MB / 410.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.0003181/0.1987, allocations: 327.2 kB / 446 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1987, allocations: 8.812 kB / 446 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1987, allocations: 14.23 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.116e-05/0.1988, allocations: 122.1 kB / 446.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1988, allocations: 10.64 kB / 446.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1988, allocations: 8.156 kB / 446.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.199, allocations: 131.2 kB / 446.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.199, allocations: 0.875 kB / 446.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.199, allocations: 4.188 kB / 446.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.199, allocations: 5.562 kB / 446.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.1991, allocations: 67.62 kB / 446.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1995, allocations: 0.6271 MB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/0.1996, allocations: 173.5 kB / 447.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.1996, allocations: 90.83 kB / 447.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1996, allocations: 75.28 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1996, allocations: 105.8 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1996, allocations: 0 / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.464e-05/0.1997, allocations: 28.33 kB / 447.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1997, allocations: 129.4 kB / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.1998, allocations: 126.4 kB / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.1998, allocations: 29.02 kB / 447.7 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.1998, allocations: 130.5 kB / 447.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.1998, allocations: 0 / 447.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.1998, allocations: 27.61 kB / 447.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.353e-05/0.1998, allocations: 319.7 kB / 448.2 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.1999, allocations: 9.469 kB / 448.2 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.1999, allocations: 38.34 kB / 448.2 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.1999, allocations: 59.84 kB / 448.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1999, allocations: 3.938 kB / 448.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.914e-05/0.2, allocations: 67.75 kB / 448.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.2, allocations: 5.656 kB / 448.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2, allocations: 3.594 kB / 448.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2, allocations: 7.031 kB / 448.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.2001, allocations: 15.95 kB / 448.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2001, allocations: 0 / 448.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.2001, allocations: 10.89 kB / 448.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2001, allocations: 2.906 kB / 448.4 MB, free: 41.26 MB / 410.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 4.27e-05/0.2001, allocations: 199.3 kB / 448.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.2002, allocations: 110 kB / 448.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.2002, allocations: 114 kB / 448.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.2002, allocations: 180.4 kB / 449 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.2002, allocations: 183.1 kB / 449.2 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.2002, allocations: 184.3 kB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.524e-05/0.2003, allocations: 384 kB / 449.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.2003, allocations: 104.9 kB / 449.8 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-06/0.2003, allocations: 103.9 kB / 449.9 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.2003, allocations: 182.4 kB / 450.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2003, allocations: 182.6 kB / 450.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.2004, allocations: 180.2 kB / 450.5 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/0.2004, allocations: 183.4 kB / 450.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.284e-05/0.2004, allocations: 308.9 kB / 450.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.2004, allocations: 108.9 kB / 451 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2004, allocations: 185.8 kB / 451.2 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.2005, allocations: 105 kB / 451.3 MB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.2005, allocations: 182.7 kB / 451.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.2005, allocations: 104.9 kB / 451.6 MB, free: 37.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.286e-05/0.2005, allocations: 99.55 kB / 451.7 MB, free: 37.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2005, allocations: 3.938 kB / 451.7 MB, free: 37.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.2007, allocations: 19.73 kB / 451.7 MB, free: 37.88 MB / 410.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 5.698e-05/0.2007, allocations: 170.8 kB / 451.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.635e-05/0.2008, allocations: 22.62 kB / 451.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2008, allocations: 4.125 kB / 451.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.2008, allocations: 0 / 451.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.201, allocations: 462.6 kB / 452.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.2012, allocations: 267.9 kB / 452.6 MB, free: 37.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.2012, allocations: 80.19 kB / 452.7 MB, free: 36.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.2012, allocations: 11.25 kB / 452.7 MB, free: 36.93 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2012, allocations: 0 / 452.7 MB, free: 36.93 MB / 410.7 MB Notification: Performance of Templates: time 0.00135/0.2026, allocations: 0.8028 MB / 453.5 MB, free: 36.89 MB / 410.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/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.4040867779403925]