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.001042/0.001042, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 72.77 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 62.45 MB / 481.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003006/0.1183, allocations: 1.726 MB / 483.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.1185, allocations: 75.67 kB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.1186, allocations: 4 kB / 483.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.957e-05/0.1186, allocations: 19.78 kB / 483.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.1187, allocations: 27.78 kB / 483.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.566e-05/0.1188, allocations: 23.97 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1189, allocations: 99.59 kB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1191, allocations: 71.5 kB / 483.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.1192, allocations: 35.88 kB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.1192, allocations: 47.83 kB / 483.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1193, allocations: 12 kB / 483.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.1193, allocations: 11.94 kB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.1193, allocations: 23.92 kB / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.1194, allocations: 55.72 kB / 483.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1195, allocations: 115.6 kB / 483.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1196, allocations: 4 kB / 483.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1196, allocations: 0 / 483.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1196, allocations: 0 / 483.8 MB, free: 2.223 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.0004396/0.12, allocations: 399.5 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1201, allocations: 8.031 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1201, allocations: 16.75 kB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1202, allocations: 168.3 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1202, allocations: 8.609 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1203, allocations: 12.38 kB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1205, allocations: 133.6 kB / 484.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1205, allocations: 192 / 484.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1205, allocations: 7.938 kB / 484.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1205, allocations: 4 kB / 484.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1206, allocations: 63.91 kB / 484.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.1214, allocations: 0.7157 MB / 485.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.223e-05/0.1215, allocations: 169.1 kB / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.1215, allocations: 84.14 kB / 485.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1216, allocations: 75.28 kB / 485.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1216, allocations: 113.8 kB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1216, allocations: 0 / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.165e-05/0.1217, allocations: 37.59 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.1218, allocations: 134.6 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1219, allocations: 144.2 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1219, allocations: 25.7 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.122, allocations: 127.5 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.122, allocations: 4 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1221, allocations: 21.7 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.1222, allocations: 318.8 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.1222, allocations: 4 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.1222, allocations: 45.14 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.834e-05/0.1223, allocations: 65.06 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1223, allocations: 0 / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001523/0.1225, allocations: 77.47 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1225, allocations: 8 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1225, allocations: 0 / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1225, allocations: 3.938 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.1226, allocations: 19.92 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1226, allocations: 0 / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.1227, allocations: 8.062 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1227, allocations: 11.94 kB / 486.8 MB, free: 14.95 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 9.634e-05/0.1228, allocations: 197.3 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.1228, allocations: 112.8 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1229, allocations: 108.8 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/0.1229, allocations: 180.3 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.123, allocations: 184.2 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-05/0.1231, allocations: 176.4 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.1234, allocations: 449.1 kB / 488.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.1234, allocations: 101 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1235, allocations: 112.9 kB / 488.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.604e-05/0.1236, allocations: 176.3 kB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.1237, allocations: 180.3 kB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.351e-05/0.1238, allocations: 184.2 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.732e-05/0.1239, allocations: 180.3 kB / 489.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.1241, allocations: 315.6 kB / 489.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1242, allocations: 186 kB / 489.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.1243, allocations: 184.2 kB / 489.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.1244, allocations: 109 kB / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.1244, allocations: 180.2 kB / 490 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.1245, allocations: 105 kB / 490.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.1246, allocations: 111.2 kB / 490.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1246, allocations: 0 / 490.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1249, allocations: 19.94 kB / 490.2 MB, free: 11.25 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.0002163/0.1251, allocations: 174.5 kB / 490.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.1252, allocations: 19.94 kB / 490.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1252, allocations: 0 / 490.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1252, allocations: 0 / 490.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1256, allocations: 460 kB / 490.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.1259, allocations: 262.4 kB / 491.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1262, allocations: 0.6924 MB / 491.8 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.1263, allocations: 3.984 kB / 491.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.1263, allocations: 19.31 kB / 491.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1263, allocations: 0 / 491.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of Templates: time 0.002279/0.1286, allocations: 404.8 kB / 492.2 MB, free: 9.18 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 -s gbode -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