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.001017/0.001017, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007975/0.0007974, allocations: 103.8 kB / 297.3 MB, free: 6.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3148/0.3148, allocations: 45.21 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002392, allocations: 4 kB / 468.4 MB, free: 7.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.295, allocations: 63.24 MB / 0.5192 GB, free: 43.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3957, allocations: 87.44 MB / 0.6046 GB, free: 2.242 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.396, allocations: 67.91 kB / 0.6046 GB, free: 2.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003421/0.3994, allocations: 1.538 MB / 0.6061 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3994, allocations: 0.75 kB / 0.6061 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3995, allocations: 0 / 0.6061 GB, free: 0.6562 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.0003761/0.3998, allocations: 385.5 kB / 0.6065 GB, free: 236 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3999, allocations: 8.031 kB / 0.6065 GB, free: 228 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.3999, allocations: 11.91 kB / 0.6065 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.4001, allocations: 171.5 kB / 0.6067 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.4001, allocations: 12.31 kB / 0.6067 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.4001, allocations: 8.844 kB / 0.6067 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.4004, allocations: 129.7 kB / 0.6068 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4004, allocations: 0.5625 kB / 0.6068 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4004, allocations: 8 kB / 0.6068 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4004, allocations: 6.844 kB / 0.6068 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.4005, allocations: 63.91 kB / 0.6069 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.4013, allocations: 0.729 MB / 0.6076 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.4014, allocations: 165.1 kB / 0.6078 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.4014, allocations: 79.28 kB / 0.6078 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.4015, allocations: 113.8 kB / 0.608 GB, free: 14.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4015, allocations: 0 / 0.608 GB, free: 14.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.257e-05/0.4016, allocations: 41.58 kB / 0.608 GB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.4016, allocations: 130.7 kB / 0.6081 GB, free: 14.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4018, allocations: 139.7 kB / 0.6083 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.4018, allocations: 25.7 kB / 0.6083 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.4019, allocations: 119.7 kB / 0.6084 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.4019, allocations: 0 / 0.6084 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.4019, allocations: 4 kB / 0.6084 GB, free: 14.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.402, allocations: 318.8 kB / 0.6087 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.402, allocations: 8 kB / 0.6087 GB, free: 13.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.4021, allocations: 41.16 kB / 0.6087 GB, free: 13.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.4021, allocations: 16 kB / 0.6088 GB, free: 13.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4021, allocations: 0 / 0.6088 GB, free: 13.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001383/0.4022, allocations: 77.45 kB / 0.6088 GB, free: 13.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4023, allocations: 4 kB / 0.6088 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4023, allocations: 7.938 kB / 0.6088 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4023, allocations: 0 / 0.6088 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.4024, allocations: 12.19 kB / 0.6089 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4024, allocations: 7.953 kB / 0.6089 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.4024, allocations: 11.84 kB / 0.6089 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4025, allocations: 4 kB / 0.6089 GB, free: 13.59 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 9.4e-05/0.4026, allocations: 190.7 kB / 0.6091 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.4026, allocations: 116.9 kB / 0.6092 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.4027, allocations: 104.9 kB / 0.6093 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.364e-05/0.4027, allocations: 188.2 kB / 0.6095 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.103e-05/0.4028, allocations: 176.3 kB / 0.6096 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.826e-05/0.4029, allocations: 188.2 kB / 0.6098 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.4031, allocations: 441.5 kB / 0.6102 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/0.4032, allocations: 101 kB / 0.6103 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.4032, allocations: 112.9 kB / 0.6104 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.768e-05/0.4033, allocations: 180.3 kB / 0.6106 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.4034, allocations: 176.3 kB / 0.6108 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.178e-05/0.4034, allocations: 184.3 kB / 0.6109 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-05/0.4035, allocations: 188.3 kB / 0.6111 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.4036, allocations: 311.6 kB / 0.6114 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.4037, allocations: 194 kB / 0.6116 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.4038, allocations: 180.2 kB / 0.6118 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.4039, allocations: 102.4 kB / 0.6119 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.404, allocations: 180.2 kB / 0.612 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.404, allocations: 105 kB / 0.6121 GB, free: 10.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.4041, allocations: 115.2 kB / 0.6123 GB, free: 9.918 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4041, allocations: 3.938 kB / 0.6123 GB, free: 9.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.4043, allocations: 15.94 kB / 0.6123 GB, free: 9.898 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.0001083/0.4044, allocations: 174.5 kB / 0.6124 GB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.4045, allocations: 15.94 kB / 0.6125 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4045, allocations: 384 / 0.6125 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4045, allocations: 4 kB / 0.6125 GB, free: 9.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.4048, allocations: 0.5309 MB / 0.613 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.4052, allocations: 278.9 kB / 0.6132 GB, free: 8.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4054, allocations: 0.7021 MB / 0.6139 GB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.4054, allocations: 4 kB / 0.6139 GB, free: 8.145 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.4055, allocations: 7.438 kB / 0.6139 GB, free: 8.137 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4055, allocations: 7.938 kB / 0.6139 GB, free: 8.129 MB / 426.7 MB Notification: Performance of Templates: time 0.002009/0.4075, allocations: 374.2 kB / 0.6143 GB, free: 7.766 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/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