Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 95.17 kB / 18 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 176.6 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 243 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.26 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001952/0.1164, allocations: 1.428 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001858/0.1166, allocations: 71.73 kB / 474.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1167, allocations: 7.938 kB / 474.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.1167, allocations: 11.86 kB / 474.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/0.1168, allocations: 23.84 kB / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.781e-05/0.1169, allocations: 19.98 kB / 474.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.117, allocations: 99.53 kB / 474.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1172, allocations: 44.3 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.1173, allocations: 31.92 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.1174, allocations: 39.78 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1174, allocations: 4 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.1174, allocations: 8 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.1174, allocations: 19.92 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.1175, allocations: 65.45 kB / 474.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1176, allocations: 96 kB / 474.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1176, allocations: 0 / 474.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1176, allocations: 8 kB / 474.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1177, allocations: 0 / 474.9 MB, free: 11.37 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.0004447/0.1181, allocations: 375.5 kB / 475.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1181, allocations: 8.031 kB / 475.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1182, allocations: 16.75 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1183, allocations: 172.2 kB / 475.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1184, allocations: 12.61 kB / 475.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1184, allocations: 12.38 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1186, allocations: 133.5 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1187, allocations: 192 / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.1187, allocations: 7.938 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1187, allocations: 4 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1188, allocations: 63.91 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008184/0.1196, allocations: 0.7313 MB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.1197, allocations: 169.1 kB / 476.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.1198, allocations: 84.14 kB / 476.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1198, allocations: 75.28 kB / 476.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.1199, allocations: 109.8 kB / 476.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.1199, allocations: 0 / 476.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.737e-05/0.12, allocations: 37.53 kB / 476.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.12, allocations: 134.7 kB / 477 MB, free: 9.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1202, allocations: 144.5 kB / 477.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1202, allocations: 25.7 kB / 477.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.1203, allocations: 123.5 kB / 477.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.1203, allocations: 0 / 477.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.1203, allocations: 17.7 kB / 477.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1204, allocations: 318.8 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.1205, allocations: 8 kB / 477.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.1205, allocations: 53.08 kB / 477.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.217e-05/0.1206, allocations: 56.97 kB / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1206, allocations: 4 kB / 477.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001471/0.1207, allocations: 69.56 kB / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1208, allocations: 4 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1208, allocations: 4 kB / 477.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1208, allocations: 0 / 477.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.1209, allocations: 15.98 kB / 477.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1209, allocations: 4.188 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1209, allocations: 15.84 kB / 477.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1209, allocations: 3.938 kB / 477.8 MB, free: 8.113 MB / 350.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.0001042/0.1211, allocations: 197.6 kB / 478 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.1211, allocations: 108.9 kB / 478.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.1212, allocations: 112.8 kB / 478.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.666e-05/0.1213, allocations: 180.2 kB / 478.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.356e-05/0.1213, allocations: 184.3 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.561e-05/0.1214, allocations: 180.2 kB / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.1216, allocations: 441.2 kB / 479.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/0.1217, allocations: 105 kB / 479.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.1217, allocations: 109 kB / 479.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.595e-05/0.1218, allocations: 184.3 kB / 479.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.1219, allocations: 184.2 kB / 479.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-05/0.1219, allocations: 176.3 kB / 479.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.165e-05/0.122, allocations: 176.3 kB / 480.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1222, allocations: 323.6 kB / 480.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.1222, allocations: 182 kB / 480.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.1223, allocations: 188.2 kB / 480.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.1224, allocations: 101 kB / 480.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.1225, allocations: 180.2 kB / 481.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.1225, allocations: 101 kB / 481.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.821e-05/0.1226, allocations: 121.4 kB / 481.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1226, allocations: 0 / 481.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1229, allocations: 19.84 kB / 481.3 MB, free: 4.414 MB / 350.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.0001169/0.123, allocations: 174.5 kB / 481.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.1231, allocations: 19.94 kB / 481.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1231, allocations: 0 / 481.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/0.1231, allocations: 4.312 kB / 481.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1235, allocations: 0.5301 MB / 482 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.1239, allocations: 318 kB / 482.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1242, allocations: 0.6926 MB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.1242, allocations: 11.44 kB / 483 MB, free: 2.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1243, allocations: 3.938 kB / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Templates: time 0.002276/0.1265, allocations: 0.8251 MB / 483.9 MB, free: 1.77 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches