Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008402/0.0008402, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004013/0.004013, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8679/0.8679, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 34.24 MB / 295.6 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.153e-05, allocations: 2.281 kB / 443.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.1859/0.1859, allocations: 1.659 MB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000136/0.186, allocations: 82.66 kB / 445.1 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.1861, allocations: 2.812 kB / 445.1 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.1861, allocations: 17.98 kB / 445.2 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.1862, allocations: 25.67 kB / 445.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.249e-05/0.1862, allocations: 25.64 kB / 445.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.1863, allocations: 104.3 kB / 445.3 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1865, allocations: 39.91 kB / 445.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.1865, allocations: 59.75 kB / 445.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.1866, allocations: 33.5 kB / 445.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1866, allocations: 11.53 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-06/0.1866, allocations: 8.688 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.1866, allocations: 26.12 kB / 445.5 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.1867, allocations: 36.58 kB / 445.5 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1868, allocations: 117.3 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1868, allocations: 3.938 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.1868, allocations: 0.5625 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1868, allocations: 2.312 kB / 445.6 MB, free: 43.51 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.0003011/0.1871, allocations: 324.2 kB / 446 MB, free: 43.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1871, allocations: 12.75 kB / 446 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1871, allocations: 10.73 kB / 446 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.33e-05/0.1872, allocations: 115.9 kB / 446.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1872, allocations: 10.42 kB / 446.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1872, allocations: 16.66 kB / 446.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1874, allocations: 127 kB / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1874, allocations: 3.469 kB / 446.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1874, allocations: 6.688 kB / 446.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1874, allocations: 6.188 kB / 446.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.1875, allocations: 67.28 kB / 446.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1879, allocations: 0.6278 MB / 447 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.188, allocations: 171.8 kB / 447.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.188, allocations: 84.08 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.188, allocations: 79.66 kB / 447.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.188, allocations: 108.5 kB / 447.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.188, allocations: 0 / 447.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 4.309e-05/0.188, allocations: 31.97 kB / 447.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1881, allocations: 129.9 kB / 447.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.1881, allocations: 125.9 kB / 447.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-06/0.1881, allocations: 25.7 kB / 447.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.1882, allocations: 134.3 kB / 447.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-06/0.1882, allocations: 6.594 kB / 447.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.1882, allocations: 23.7 kB / 447.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.1882, allocations: 317.4 kB / 448.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.1882, allocations: 2.938 kB / 448.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.1883, allocations: 49.52 kB / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.1883, allocations: 54.44 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1883, allocations: 3.938 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.446e-05/0.1884, allocations: 73.23 kB / 448.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1884, allocations: 6.562 kB / 448.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1884, allocations: 0 / 448.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1884, allocations: 2.969 kB / 448.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.1885, allocations: 13.22 kB / 448.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1885, allocations: 4.188 kB / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.1885, allocations: 10.77 kB / 448.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1885, allocations: 5.875 kB / 448.4 MB, free: 41.14 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.086e-05/0.1885, allocations: 199.3 kB / 448.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.1886, allocations: 111.2 kB / 448.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.1886, allocations: 107.4 kB / 448.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.1886, allocations: 180.1 kB / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.1886, allocations: 187.2 kB / 449.2 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.1886, allocations: 180.3 kB / 449.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.227e-05/0.1887, allocations: 379 kB / 449.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.1887, allocations: 115.2 kB / 449.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.1887, allocations: 104.9 kB / 449.9 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.1887, allocations: 183.4 kB / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1887, allocations: 176.3 kB / 450.3 MB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.1888, allocations: 186.6 kB / 450.5 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.1888, allocations: 182.6 kB / 450.6 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.067e-05/0.1888, allocations: 305.2 kB / 450.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.1888, allocations: 114.8 kB / 451 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1888, allocations: 187 kB / 451.2 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.1889, allocations: 101 kB / 451.3 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.1889, allocations: 178.7 kB / 451.5 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1889, allocations: 112.2 kB / 451.6 MB, free: 37.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.305e-05/0.1889, allocations: 92.66 kB / 451.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1889, allocations: 0 / 451.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.1891, allocations: 26.08 kB / 451.7 MB, free: 37.76 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.839e-05/0.1891, allocations: 166.2 kB / 451.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.795e-05/0.1892, allocations: 16.94 kB / 451.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1892, allocations: 2.938 kB / 451.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.1892, allocations: 384 / 451.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.1894, allocations: 469.8 kB / 452.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.1896, allocations: 264.8 kB / 452.6 MB, free: 36.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.1896, allocations: 80.64 kB / 452.7 MB, free: 36.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.1897, allocations: 10.56 kB / 452.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1897, allocations: 0 / 452.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00137/0.191, allocations: 0.8177 MB / 453.5 MB, free: 36.78 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.379961458966136]