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.0009465/0.0009464, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002598, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001991/0.1168, allocations: 1.45 MB / 485.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000188/0.117, allocations: 67.73 kB / 485.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.1171, allocations: 0 / 485.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.1171, allocations: 15.86 kB / 485.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/0.1172, allocations: 23.84 kB / 485.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.602e-05/0.1173, allocations: 19.98 kB / 485.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1175, allocations: 103.5 kB / 485.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1176, allocations: 44.3 kB / 485.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.1177, allocations: 35.86 kB / 485.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.1178, allocations: 39.84 kB / 485.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1178, allocations: 4 kB / 485.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.1178, allocations: 4 kB / 485.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.1179, allocations: 15.92 kB / 485.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.1179, allocations: 77.42 kB / 485.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.823e-05/0.118, allocations: 88.03 kB / 485.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1181, allocations: 0 / 485.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1181, allocations: 4 kB / 485.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1181, allocations: 0 / 485.7 MB, free: 2.164 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.0004342/0.1185, allocations: 385.8 kB / 486.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1186, allocations: 8.031 kB / 486.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1186, allocations: 12.75 kB / 486.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1187, allocations: 172.3 kB / 486.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1188, allocations: 8.609 kB / 486.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.1188, allocations: 12.38 kB / 486.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.119, allocations: 127.4 kB / 486.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.119, allocations: 4.188 kB / 486.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1191, allocations: 7.938 kB / 486.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1191, allocations: 4 kB / 486.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1192, allocations: 63.91 kB / 486.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.12, allocations: 0.7274 MB / 487.2 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/0.1201, allocations: 173.1 kB / 487.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.1201, allocations: 80.14 kB / 487.5 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1201, allocations: 75.28 kB / 487.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.1202, allocations: 109.8 kB / 487.6 MB, free: 32 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.1202, allocations: 0 / 487.6 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001043/0.1203, allocations: 37.55 kB / 487.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.1204, allocations: 130.7 kB / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1205, allocations: 141.8 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1205, allocations: 29.64 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.1206, allocations: 131.5 kB / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.1206, allocations: 0 / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.1207, allocations: 13.72 kB / 488.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1208, allocations: 322.8 kB / 488.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.1208, allocations: 7.984 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.1208, allocations: 41.16 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.1209, allocations: 61.03 kB / 488.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1209, allocations: 0 / 488.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001412/0.1211, allocations: 69.56 kB / 488.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1211, allocations: 11.94 kB / 488.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1211, allocations: 3.984 kB / 488.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1211, allocations: 4 kB / 488.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.1212, allocations: 11.98 kB / 488.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1212, allocations: 192 / 488.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.1213, allocations: 15.84 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1213, allocations: 7.938 kB / 488.7 MB, free: 14.91 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.972e-05/0.1214, allocations: 197.1 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.1214, allocations: 108.9 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.1215, allocations: 112.8 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/0.1216, allocations: 180.2 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.658e-05/0.1216, allocations: 180.3 kB / 489.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/0.1217, allocations: 188.2 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.122, allocations: 441.2 kB / 490 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/0.122, allocations: 108.9 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.1221, allocations: 101 kB / 490.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.207e-05/0.1221, allocations: 180.3 kB / 490.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/0.1222, allocations: 188.2 kB / 490.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.467e-05/0.1223, allocations: 180.4 kB / 490.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.333e-05/0.1223, allocations: 184.2 kB / 491 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.1225, allocations: 311.7 kB / 491.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.1226, allocations: 190 kB / 491.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.1226, allocations: 180.2 kB / 491.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.1227, allocations: 108.9 kB / 491.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.1228, allocations: 176.3 kB / 491.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.1228, allocations: 101 kB / 492 MB, free: 11.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.434e-05/0.1229, allocations: 125.5 kB / 492.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1229, allocations: 4 kB / 492.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1232, allocations: 19.84 kB / 492.2 MB, free: 11.2 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.0001076/0.1233, allocations: 171 kB / 492.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.444e-05/0.1234, allocations: 19.94 kB / 492.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1234, allocations: 0 / 492.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1234, allocations: 0 / 492.3 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.0003782/0.1238, allocations: 0.5267 MB / 492.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1242, allocations: 310 kB / 493.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1245, allocations: 0.6965 MB / 493.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.1245, allocations: 11.44 kB / 493.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1245, allocations: 0 / 493.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of Templates: time 0.002073/0.1266, allocations: 0.829 MB / 494.7 MB, free: 8.578 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