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.001393/0.001393, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 76.39 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.00287/0.1183, allocations: 1.714 MB / 483.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001504/0.1185, allocations: 83.7 kB / 483.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.1185, allocations: 4 kB / 483.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.178e-05/0.1186, allocations: 23.78 kB / 483.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.1187, allocations: 15.8 kB / 483.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.143e-05/0.1188, allocations: 23.97 kB / 483.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1189, allocations: 103.6 kB / 483.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1191, allocations: 66.95 kB / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.1191, allocations: 39.86 kB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.1192, allocations: 47.78 kB / 483.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1193, allocations: 12 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.1193, allocations: 12 kB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.1193, allocations: 19.92 kB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.1194, allocations: 47.8 kB / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1195, allocations: 127.6 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1195, allocations: 0 / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1195, allocations: 0 / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1196, allocations: 4 kB / 483.8 MB, free: 2.191 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.0005382/0.1201, allocations: 391.5 kB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1202, allocations: 8.031 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1202, allocations: 16.75 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1204, allocations: 176.2 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1204, allocations: 12.61 kB / 484.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1204, allocations: 12.38 kB / 484.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1206, allocations: 129.5 kB / 484.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1206, allocations: 192 / 484.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1207, allocations: 7.938 kB / 484.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1207, allocations: 4 kB / 484.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1208, allocations: 55.98 kB / 484.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008209/0.1216, allocations: 0.7273 MB / 485.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.1217, allocations: 165.1 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.1218, allocations: 84.08 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1218, allocations: 79.28 kB / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.1218, allocations: 109.8 kB / 485.7 MB, free: 48 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.1219, allocations: 0 / 485.7 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.877e-05/0.1219, allocations: 33.61 kB / 485.8 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.122, allocations: 126.7 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1221, allocations: 148.5 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.1222, allocations: 33.58 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.1223, allocations: 131.5 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.1223, allocations: 0 / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1223, allocations: 17.72 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1224, allocations: 326.8 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.1225, allocations: 4 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.1225, allocations: 49.08 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.425e-05/0.1226, allocations: 57.12 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1226, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001333/0.1227, allocations: 77.47 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1227, allocations: 8 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1228, allocations: 0 / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1228, allocations: 4 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.1229, allocations: 8 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1229, allocations: 3.938 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.1229, allocations: 11.92 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1229, allocations: 7.938 kB / 486.8 MB, free: 14.93 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.0001027/0.123, allocations: 197.3 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.1231, allocations: 108.9 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1232, allocations: 112.8 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.17e-05/0.1233, allocations: 180.2 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.93e-05/0.1233, allocations: 180.2 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-05/0.1234, allocations: 188.4 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1237, allocations: 441.1 kB / 488.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.1237, allocations: 104.9 kB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.1238, allocations: 105.1 kB / 488.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.779e-05/0.1239, allocations: 180.2 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.1239, allocations: 184.2 kB / 488.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.338e-05/0.124, allocations: 184.3 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.999e-05/0.1241, allocations: 180.2 kB / 489.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1242, allocations: 311.6 kB / 489.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.1243, allocations: 190 kB / 489.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.1244, allocations: 184.3 kB / 489.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.1245, allocations: 108.9 kB / 489.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.1246, allocations: 184.2 kB / 490 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.1246, allocations: 104.9 kB / 490.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.1247, allocations: 119.1 kB / 490.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1247, allocations: 0 / 490.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.125, allocations: 15.94 kB / 490.3 MB, free: 11.21 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.000138/0.1251, allocations: 170.5 kB / 490.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.1252, allocations: 23.92 kB / 490.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1252, allocations: 0 / 490.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.1252, allocations: 3.938 kB / 490.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1256, allocations: 466.2 kB / 490.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.126, allocations: 250.4 kB / 491.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1263, allocations: 0.6924 MB / 491.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.734e-05/0.1263, allocations: 7.984 kB / 491.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.1263, allocations: 11.44 kB / 491.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1263, allocations: 0 / 491.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of Templates: time 0.002308/0.1287, allocations: 396.8 kB / 492.2 MB, free: 9.16 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 cvode -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