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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009809/0.0009809, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008437/0.0008437, allocations: 92.47 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.773e-05, allocations: 0 / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09469, allocations: 63.24 MB / 0.5114 GB, free: 6.809 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4422, allocations: 87.36 MB / 0.5967 GB, free: 6.582 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.4424, allocations: 67.34 kB / 0.5967 GB, free: 6.547 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003128/0.4456, allocations: 1.545 MB / 0.5982 GB, free: 5.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4456, allocations: 0 / 0.5982 GB, free: 5.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4456, allocations: 0 / 0.5982 GB, free: 5.207 MB / 394.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.0003268/0.4459, allocations: 379.3 kB / 0.5986 GB, free: 4.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.446, allocations: 8.031 kB / 0.5986 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.446, allocations: 15.91 kB / 0.5986 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4461, allocations: 174.9 kB / 0.5988 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4462, allocations: 12.11 kB / 0.5988 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4462, allocations: 7.25 kB / 0.5988 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.4464, allocations: 126.1 kB / 0.5989 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4464, allocations: 0 / 0.5989 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4464, allocations: 7.062 kB / 0.5989 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4464, allocations: 0 / 0.5989 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.864e-05/0.4465, allocations: 54.94 kB / 0.599 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.4472, allocations: 0.7323 MB / 0.5997 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.257e-05/0.4473, allocations: 170.3 kB / 0.5999 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.4474, allocations: 84.08 kB / 0.6 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.4474, allocations: 75.28 kB / 0.6 GB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4474, allocations: 115.5 kB / 0.6001 GB, free: 3.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4475, allocations: 2.734 kB / 0.6001 GB, free: 3.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.041e-05/0.4475, allocations: 33.66 kB / 0.6002 GB, free: 3.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.4476, allocations: 126.7 kB / 0.6003 GB, free: 3.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4477, allocations: 134.2 kB / 0.6004 GB, free: 2.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.4477, allocations: 29.7 kB / 0.6004 GB, free: 2.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.4478, allocations: 124 kB / 0.6006 GB, free: 2.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.4478, allocations: 4.75 kB / 0.6006 GB, free: 2.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.4478, allocations: 0.625 kB / 0.6006 GB, free: 2.754 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.4479, allocations: 317.5 kB / 0.6009 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.4479, allocations: 9.688 kB / 0.6009 GB, free: 2.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.448, allocations: 46.03 kB / 0.6009 GB, free: 2.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.448, allocations: 15.05 kB / 0.6009 GB, free: 2.359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.448, allocations: 4 kB / 0.6009 GB, free: 2.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001232/0.4482, allocations: 72.22 kB / 0.601 GB, free: 2.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4482, allocations: 4 kB / 0.601 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4482, allocations: 8.188 kB / 0.601 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4482, allocations: 0 / 0.601 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.4483, allocations: 16.52 kB / 0.601 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4483, allocations: 4 kB / 0.601 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.4483, allocations: 12.67 kB / 0.6011 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.4484, allocations: 4 kB / 0.6011 GB, free: 2.238 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.4484, allocations: 177.8 kB / 0.6012 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.4485, allocations: 113.6 kB / 0.6013 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.4486, allocations: 114.7 kB / 0.6014 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-05/0.4486, allocations: 181.1 kB / 0.6016 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-05/0.4487, allocations: 192.1 kB / 0.6018 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.374e-05/0.4488, allocations: 180.8 kB / 0.602 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.449, allocations: 437.7 kB / 0.6024 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/0.4491, allocations: 108.9 kB / 0.6025 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.4491, allocations: 105.6 kB / 0.6026 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-05/0.4492, allocations: 180.7 kB / 0.6028 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.4493, allocations: 180.8 kB / 0.6029 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.152e-05/0.4493, allocations: 176.8 kB / 0.6031 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.169e-05/0.4494, allocations: 184.8 kB / 0.6033 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4495, allocations: 315.6 kB / 0.6036 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.4496, allocations: 190.5 kB / 0.6038 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.4497, allocations: 181 kB / 0.6039 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.4498, allocations: 105.5 kB / 0.604 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.4499, allocations: 185.1 kB / 0.6042 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.4499, allocations: 108.9 kB / 0.6043 GB, free: 14.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.45, allocations: 107.2 kB / 0.6044 GB, free: 14.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.45, allocations: 0 / 0.6044 GB, free: 14.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.4503, allocations: 17.08 kB / 0.6044 GB, free: 14.59 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001194/0.4504, allocations: 170.5 kB / 0.6046 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.4505, allocations: 29.42 kB / 0.6046 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4505, allocations: 0 / 0.6046 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4505, allocations: 0 / 0.6046 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4508, allocations: 0.5267 MB / 0.6051 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.4511, allocations: 171.6 kB / 0.6053 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.4513, allocations: 0.7006 MB / 0.606 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.665e-05/0.4514, allocations: 11.86 kB / 0.606 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.4514, allocations: 11.44 kB / 0.606 GB, free: 12.92 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4514, allocations: 0 / 0.606 GB, free: 12.92 MB / 410.7 MB Notification: Performance of Templates: time 0.001834/0.4532, allocations: 384.3 kB / 0.6064 GB, free: 12.55 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches