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.001354/0.001354, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001582/0.001582, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.418/1.418, allocations: 222.9 MB / 242.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 62.3 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1214, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003083/0.1246, allocations: 1.706 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.1248, allocations: 83.59 kB / 471.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.1248, allocations: 4 kB / 471.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.214e-05/0.1249, allocations: 15.86 kB / 471.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.125, allocations: 19.78 kB / 471.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.228e-05/0.1251, allocations: 23.97 kB / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1252, allocations: 103.6 kB / 471.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.1254, allocations: 59.97 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.1255, allocations: 35.92 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.1255, allocations: 55.7 kB / 472 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.1256, allocations: 8 kB / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.1257, allocations: 12 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.1257, allocations: 19.94 kB / 472.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.1257, allocations: 51.73 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1259, allocations: 115.9 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1259, allocations: 0 / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1259, allocations: 0 / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1259, allocations: 7.938 kB / 472.2 MB, free: 12.07 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.0005117/0.1264, allocations: 399.4 kB / 472.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1265, allocations: 15.97 kB / 472.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.1265, allocations: 12.83 kB / 472.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1267, allocations: 168.3 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1267, allocations: 8.609 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1267, allocations: 12.38 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.127, allocations: 131.4 kB / 473 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.127, allocations: 4.188 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.127, allocations: 7.938 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.127, allocations: 4 kB / 473 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1271, allocations: 59.97 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.128, allocations: 0.7351 MB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.128, allocations: 169.1 kB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.1281, allocations: 80.14 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.1282, allocations: 83.28 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.973e-05/0.1283, allocations: 109.8 kB / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1283, allocations: 0 / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.331e-05/0.1283, allocations: 33.61 kB / 474.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1284, allocations: 126.7 kB / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1286, allocations: 148.5 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1286, allocations: 29.7 kB / 474.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.1287, allocations: 127.5 kB / 474.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.1287, allocations: 4 kB / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.1287, allocations: 17.72 kB / 474.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1289, allocations: 322.8 kB / 475 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.1289, allocations: 4 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.1289, allocations: 49.14 kB / 475 MB, free: 8.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.326e-05/0.129, allocations: 53.12 kB / 475.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.129, allocations: 8 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001486/0.1292, allocations: 73.47 kB / 475.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1292, allocations: 4 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1292, allocations: 4 kB / 475.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1292, allocations: 0 / 475.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.1293, allocations: 15.88 kB / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1293, allocations: 7.984 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1294, allocations: 11.84 kB / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1294, allocations: 8.125 kB / 475.2 MB, free: 8.781 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.000105/0.1295, allocations: 201.1 kB / 475.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.1296, allocations: 108.9 kB / 475.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.1296, allocations: 104.9 kB / 475.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.517e-05/0.1297, allocations: 180.2 kB / 475.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.917e-05/0.1298, allocations: 188.2 kB / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-05/0.1299, allocations: 180.4 kB / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1301, allocations: 445.1 kB / 476.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/0.1302, allocations: 101 kB / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.1302, allocations: 101 kB / 476.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-05/0.1303, allocations: 188.2 kB / 477 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.1304, allocations: 184.3 kB / 477.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.478e-05/0.1304, allocations: 180.2 kB / 477.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.955e-05/0.1305, allocations: 176.3 kB / 477.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.1307, allocations: 323.6 kB / 477.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1308, allocations: 186 kB / 478 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.1309, allocations: 188.2 kB / 478.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.089e-05/0.131, allocations: 105.1 kB / 478.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1311, allocations: 180.2 kB / 478.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.1312, allocations: 108.9 kB / 478.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.437e-05/0.1313, allocations: 111.2 kB / 478.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1313, allocations: 0 / 478.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1316, allocations: 19.94 kB / 478.7 MB, free: 5.074 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.0001136/0.1317, allocations: 170.5 kB / 478.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.757e-05/0.1318, allocations: 23.92 kB / 478.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1318, allocations: 0 / 478.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.1318, allocations: 0 / 478.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1322, allocations: 461.9 kB / 479.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.1326, allocations: 283.8 kB / 479.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1328, allocations: 0.6963 MB / 480.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.1329, allocations: 7.438 kB / 480.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1329, allocations: 4 kB / 480.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of Templates: time 0.002186/0.1351, allocations: 0.8445 MB / 481.2 MB, free: 2.531 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