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.001209/0.001209, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008327/0.0008327, allocations: 99.7 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1779/0.1779, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.067e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4522, allocations: 86.7 MB / 0.589 GB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.4524, allocations: 70.33 kB / 0.5891 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00311/0.4556, allocations: 1.527 MB / 0.5906 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4556, allocations: 0 / 0.5906 GB, free: 14.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4556, allocations: 8 kB / 0.5906 GB, free: 14.54 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.0003495/0.456, allocations: 369.7 kB / 0.5909 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.456, allocations: 8.031 kB / 0.5909 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.456, allocations: 11.91 kB / 0.591 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.4562, allocations: 170.9 kB / 0.5911 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4562, allocations: 4 kB / 0.5911 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.4562, allocations: 8 kB / 0.5911 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001247/0.4563, allocations: 58.08 kB / 0.5912 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4565, allocations: 106.1 kB / 0.5913 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4565, allocations: 0 / 0.5913 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4566, allocations: 0 / 0.5913 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4566, allocations: 7.938 kB / 0.5913 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.4572, allocations: 0.6804 MB / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.4e-05/0.4573, allocations: 180.3 kB / 0.5921 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.4573, allocations: 80.14 kB / 0.5922 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4574, allocations: 75.28 kB / 0.5923 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4574, allocations: 105.8 kB / 0.5924 GB, free: 12.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4574, allocations: 2.734 kB / 0.5924 GB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.966e-05/0.4575, allocations: 29.7 kB / 0.5924 GB, free: 12.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.4575, allocations: 59.36 kB / 0.5925 GB, free: 12.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.4576, allocations: 119.4 kB / 0.5926 GB, free: 12.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.4577, allocations: 25.7 kB / 0.5926 GB, free: 12.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.4577, allocations: 126.5 kB / 0.5927 GB, free: 12.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.4577, allocations: 0 / 0.5927 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.4577, allocations: 0 / 0.5927 GB, free: 12.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4579, allocations: 314.8 kB / 0.593 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.4579, allocations: 7.312 kB / 0.593 GB, free: 11.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/0.4579, allocations: 48.53 kB / 0.5931 GB, free: 11.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.4579, allocations: 7.688 kB / 0.5931 GB, free: 11.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.458, allocations: 384 / 0.5931 GB, free: 11.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001133/0.4581, allocations: 68.94 kB / 0.5932 GB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4581, allocations: 4 kB / 0.5932 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4581, allocations: 4.703 kB / 0.5932 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4581, allocations: 3.938 kB / 0.5932 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.4582, allocations: 11.98 kB / 0.5932 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4582, allocations: 4 kB / 0.5932 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.4583, allocations: 11.8 kB / 0.5932 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.4583, allocations: 4 kB / 0.5932 GB, free: 11.75 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 9.98e-05/0.4584, allocations: 190.9 kB / 0.5934 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.4585, allocations: 101 kB / 0.5935 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.173e-05/0.4585, allocations: 112.9 kB / 0.5936 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/0.4586, allocations: 184.1 kB / 0.5938 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.014e-05/0.4587, allocations: 179.2 kB / 0.5939 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.885e-05/0.4587, allocations: 180.3 kB / 0.5941 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.459, allocations: 411.6 kB / 0.5945 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/0.459, allocations: 109.4 kB / 0.5946 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.459, allocations: 101 kB / 0.5947 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-05/0.4591, allocations: 184.2 kB / 0.5949 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.4592, allocations: 176.3 kB / 0.595 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.758e-05/0.4592, allocations: 180.3 kB / 0.5952 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.561e-05/0.4593, allocations: 184.2 kB / 0.5954 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.4594, allocations: 307 kB / 0.5957 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.4595, allocations: 185.9 kB / 0.5959 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.4596, allocations: 185.7 kB / 0.596 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.4597, allocations: 107.7 kB / 0.5961 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.4597, allocations: 180.2 kB / 0.5963 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.4598, allocations: 105 kB / 0.5964 GB, free: 8.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.4598, allocations: 89.84 kB / 0.5965 GB, free: 8.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4598, allocations: 0 / 0.5965 GB, free: 8.188 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.4601, allocations: 23.84 kB / 0.5965 GB, free: 8.164 MB / 394.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.0001051/0.4602, allocations: 174.5 kB / 0.5967 GB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.869e-05/0.4603, allocations: 15.75 kB / 0.5967 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4603, allocations: 0 / 0.5967 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.4603, allocations: 0 / 0.5967 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4606, allocations: 0.5308 MB / 0.5972 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.4608, allocations: 174.6 kB / 0.5974 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.461, allocations: 0.704 MB / 0.5981 GB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.4611, allocations: 0 / 0.5981 GB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.4611, allocations: 11.38 kB / 0.5981 GB, free: 6.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4611, allocations: 0 / 0.5981 GB, free: 6.508 MB / 394.7 MB Notification: Performance of Templates: time 0.001721/0.4628, allocations: 274.8 kB / 0.5983 GB, free: 6.25 MB / 394.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