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.00235/0.002351, allocations: 196.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008271/0.0008268, allocations: 104.4 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3836/0.3836, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002464, allocations: 4 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3413, allocations: 62.95 MB / 0.5184 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4612, allocations: 87.29 MB / 0.6037 GB, free: 2.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4615, allocations: 71.95 kB / 0.6037 GB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003541/0.4651, allocations: 1.535 MB / 0.6052 GB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.459e-06/0.4651, allocations: 0 / 0.6052 GB, free: 440 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4651, allocations: 7.938 kB / 0.6052 GB, free: 432 kB / 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.0004571/0.4656, allocations: 379.4 kB / 0.6056 GB, free: 16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4656, allocations: 12.88 kB / 0.6056 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.4657, allocations: 8.844 kB / 0.6056 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.4659, allocations: 176.2 kB / 0.6058 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4659, allocations: 12.61 kB / 0.6058 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.4659, allocations: 12.38 kB / 0.6058 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.4662, allocations: 129.5 kB / 0.6059 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4662, allocations: 4.125 kB / 0.6059 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.4662, allocations: 7.938 kB / 0.6059 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.4663, allocations: 4 kB / 0.6059 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.4664, allocations: 55.98 kB / 0.606 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.4673, allocations: 0.7313 MB / 0.6067 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.4674, allocations: 169.1 kB / 0.6069 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.4674, allocations: 84.12 kB / 0.607 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4675, allocations: 75.28 kB / 0.607 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.4675, allocations: 113.8 kB / 0.6071 GB, free: 14.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.4675, allocations: 0 / 0.6071 GB, free: 14.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.988e-05/0.4676, allocations: 29.7 kB / 0.6072 GB, free: 14.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4677, allocations: 130.6 kB / 0.6073 GB, free: 14.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4678, allocations: 152 kB / 0.6074 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4679, allocations: 25.7 kB / 0.6075 GB, free: 13.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.4679, allocations: 123.7 kB / 0.6076 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.468, allocations: 3.938 kB / 0.6076 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.468, allocations: 4 kB / 0.6076 GB, free: 13.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4681, allocations: 322.8 kB / 0.6079 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.4681, allocations: 11.98 kB / 0.6079 GB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.4682, allocations: 37.16 kB / 0.6079 GB, free: 13.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.4683, allocations: 53.09 kB / 0.608 GB, free: 13.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4683, allocations: 0 / 0.608 GB, free: 13.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001633/0.4684, allocations: 73.47 kB / 0.6081 GB, free: 13.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4685, allocations: 12.17 kB / 0.6081 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4685, allocations: 4 kB / 0.6081 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4685, allocations: 0 / 0.6081 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/0.4686, allocations: 15.94 kB / 0.6081 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4686, allocations: 0 / 0.6081 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.4687, allocations: 15.84 kB / 0.6081 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.4687, allocations: 7.938 kB / 0.6081 GB, free: 13.19 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.4688, allocations: 189.1 kB / 0.6083 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.4689, allocations: 116.9 kB / 0.6084 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.4689, allocations: 108.9 kB / 0.6085 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.131e-05/0.469, allocations: 180.3 kB / 0.6087 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-05/0.4691, allocations: 180.8 kB / 0.6088 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.64e-05/0.4692, allocations: 184.2 kB / 0.609 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.4695, allocations: 449 kB / 0.6095 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.796e-05/0.4695, allocations: 105 kB / 0.6096 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.4696, allocations: 109 kB / 0.6097 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.854e-05/0.4697, allocations: 180.2 kB / 0.6098 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.4697, allocations: 176.3 kB / 0.61 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.126e-05/0.4698, allocations: 180.2 kB / 0.6102 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.79e-05/0.4699, allocations: 188.2 kB / 0.6103 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.4701, allocations: 311.6 kB / 0.6106 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4702, allocations: 190 kB / 0.6108 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4703, allocations: 181.6 kB / 0.611 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.4704, allocations: 101 kB / 0.6111 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4706, allocations: 188.2 kB / 0.6113 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.4706, allocations: 105 kB / 0.6114 GB, free: 9.613 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.42e-05/0.4707, allocations: 113.7 kB / 0.6115 GB, free: 9.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4707, allocations: 0 / 0.6115 GB, free: 9.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.4711, allocations: 23.84 kB / 0.6115 GB, free: 9.48 MB / 426.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 (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.0001278/0.4712, allocations: 170.5 kB / 0.6117 GB, free: 9.305 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.368e-05/0.4713, allocations: 19.94 kB / 0.6117 GB, free: 9.285 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4713, allocations: 0 / 0.6117 GB, free: 9.285 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.4713, allocations: 4 kB / 0.6117 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4717, allocations: 0.5224 MB / 0.6122 GB, free: 8.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.4721, allocations: 284.3 kB / 0.6125 GB, free: 8.453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4724, allocations: 0.6965 MB / 0.6132 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.4725, allocations: 4 kB / 0.6132 GB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.4725, allocations: 11.44 kB / 0.6132 GB, free: 7.715 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4725, allocations: 3.938 kB / 0.6132 GB, free: 7.711 MB / 426.7 MB Notification: Performance of Templates: time 0.002576/0.4751, allocations: 375.7 kB / 0.6135 GB, free: 7.348 MB / 426.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/jenkins1/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