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) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001634/0.001634, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 75.59 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 62.45 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002934/0.1154, allocations: 1.732 MB / 482.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001948/0.1156, allocations: 71.73 kB / 482.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.1157, allocations: 0 / 482.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.1158, allocations: 15.86 kB / 482.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.1159, allocations: 27.77 kB / 482.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.443e-05/0.116, allocations: 19.97 kB / 482.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1161, allocations: 107.5 kB / 482.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1163, allocations: 58.95 kB / 482.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.581e-05/0.1163, allocations: 43.86 kB / 482.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.1164, allocations: 43.84 kB / 482.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.1165, allocations: 12 kB / 482.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.1165, allocations: 8 kB / 482.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.1165, allocations: 23.92 kB / 482.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.1166, allocations: 55.73 kB / 482.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1168, allocations: 123.8 kB / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1168, allocations: 0 / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1168, allocations: 0 / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1168, allocations: 0 / 483 MB, free: 2.953 MB / 350.1 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.000461/0.1173, allocations: 399.5 kB / 483.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1173, allocations: 8.031 kB / 483.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1173, allocations: 12.75 kB / 483.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1175, allocations: 180.2 kB / 483.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1175, allocations: 8.609 kB / 483.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1175, allocations: 12.38 kB / 483.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1177, allocations: 129.6 kB / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1178, allocations: 192 / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1178, allocations: 3.938 kB / 483.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1178, allocations: 8 kB / 483.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1179, allocations: 63.92 kB / 483.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.1188, allocations: 0.7235 MB / 484.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.1188, allocations: 173.1 kB / 484.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.1189, allocations: 84.08 kB / 484.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1189, allocations: 75.28 kB / 484.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.119, allocations: 109.8 kB / 485 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.119, allocations: 0 / 485 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.436e-05/0.1191, allocations: 37.55 kB / 485 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.1191, allocations: 130.7 kB / 485.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1193, allocations: 148.3 kB / 485.3 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1193, allocations: 25.7 kB / 485.3 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.1193, allocations: 131.5 kB / 485.4 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.1194, allocations: 0 / 485.4 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1194, allocations: 17.72 kB / 485.5 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1195, allocations: 322.8 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.1196, allocations: 8 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.1196, allocations: 41.14 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.1197, allocations: 61.12 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1197, allocations: 3.938 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001418/0.1198, allocations: 77.47 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1199, allocations: 8 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1199, allocations: 3.938 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1199, allocations: 4 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.12, allocations: 8 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.12, allocations: 0 / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.12, allocations: 11.92 kB / 486 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.12, allocations: 7.938 kB / 486 MB, free: 15.68 MB / 366.1 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 0.0001058/0.1201, allocations: 193.3 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.1202, allocations: 112.8 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.1203, allocations: 112.9 kB / 486.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-05/0.1203, allocations: 184.2 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.623e-05/0.1204, allocations: 176.3 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/0.1205, allocations: 176.4 kB / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.1207, allocations: 453.1 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.1208, allocations: 105.1 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.1208, allocations: 108.9 kB / 487.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.805e-05/0.1209, allocations: 176.3 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.121, allocations: 180.2 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.792e-05/0.121, allocations: 188.2 kB / 488.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.746e-05/0.1211, allocations: 180.3 kB / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1212, allocations: 311.6 kB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.1213, allocations: 193.9 kB / 488.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.1214, allocations: 184.3 kB / 489 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.1215, allocations: 101 kB / 489.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.1216, allocations: 188.2 kB / 489.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.1216, allocations: 104.9 kB / 489.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.1217, allocations: 117.4 kB / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1217, allocations: 0 / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1219, allocations: 15.94 kB / 489.5 MB, free: 11.97 MB / 366.1 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 0.0001131/0.1221, allocations: 170.5 kB / 489.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.1222, allocations: 23.92 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1222, allocations: 0 / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.1222, allocations: 0 / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1225, allocations: 466.8 kB / 490.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1229, allocations: 271.9 kB / 490.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1232, allocations: 0.6963 MB / 491.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.1232, allocations: 15.38 kB / 491.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1232, allocations: 0 / 491.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Templates: time 0.002057/0.1253, allocations: 0.8483 MB / 492 MB, free: 9.426 MB / 366.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches