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.001133/0.001133, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001217/0.001217, allocations: 192 kB / 18.56 MB, free: 4.434 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.338/1.338, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2276/0.2276, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.16 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 60.83 MB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.00286/0.1084, allocations: 1.695 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.1086, allocations: 83.61 kB / 471 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.1087, allocations: 3.938 kB / 471 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.399e-05/0.1087, allocations: 19.84 kB / 471 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.1088, allocations: 27.77 kB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.572e-05/0.1089, allocations: 19.97 kB / 471.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.109, allocations: 103.6 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1092, allocations: 47.98 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.1093, allocations: 39.91 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.1093, allocations: 47.78 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1094, allocations: 8 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.1094, allocations: 16 kB / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.1094, allocations: 23.92 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.1095, allocations: 55.73 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1096, allocations: 115.9 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1096, allocations: 4 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1096, allocations: 0 / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1096, allocations: 0 / 471.5 MB, free: 12.05 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.0004174/0.1101, allocations: 395.4 kB / 471.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1101, allocations: 15.97 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.1101, allocations: 12.84 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1103, allocations: 172.3 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1103, allocations: 16.59 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.87e-05/0.1103, allocations: 12.38 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1105, allocations: 127.4 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1106, allocations: 192 / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1106, allocations: 7.938 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1106, allocations: 4 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1107, allocations: 63.59 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.1115, allocations: 0.739 MB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.461e-05/0.1116, allocations: 169.1 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.1116, allocations: 84.08 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.1117, allocations: 79.27 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1117, allocations: 109.8 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1117, allocations: 0 / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.39e-05/0.1118, allocations: 33.61 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1118, allocations: 130.7 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.112, allocations: 145.1 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.112, allocations: 25.7 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.1121, allocations: 127.5 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.1121, allocations: 4 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1121, allocations: 21.72 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1122, allocations: 322.8 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.1123, allocations: 11.88 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.958e-05/0.1123, allocations: 41.16 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.1124, allocations: 57.12 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.1124, allocations: 0 / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000152/0.1125, allocations: 81.45 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1125, allocations: 12.19 kB / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1126, allocations: 0 / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1126, allocations: 0 / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.1126, allocations: 12 kB / 474.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1127, allocations: 3.938 kB / 474.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1127, allocations: 11.84 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1127, allocations: 7.938 kB / 474.6 MB, free: 8.758 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 9.575e-05/0.1128, allocations: 193.1 kB / 474.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.1129, allocations: 113 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.1129, allocations: 112.8 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.113, allocations: 180.3 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.758e-05/0.1131, allocations: 180.2 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/0.1131, allocations: 180.4 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1134, allocations: 445.1 kB / 475.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.1134, allocations: 108.9 kB / 476 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.1135, allocations: 105 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.373e-05/0.1135, allocations: 180.2 kB / 476.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.1136, allocations: 176.3 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.047e-05/0.1136, allocations: 180.4 kB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.266e-05/0.1137, allocations: 192.2 kB / 476.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1138, allocations: 311.6 kB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.1139, allocations: 194 kB / 477.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.114, allocations: 180.3 kB / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.1141, allocations: 104.9 kB / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1142, allocations: 184.3 kB / 477.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.1142, allocations: 104.9 kB / 477.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.715e-05/0.1143, allocations: 115.2 kB / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1143, allocations: 0 / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1145, allocations: 19.94 kB / 478 MB, free: 5.051 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 9.394e-05/0.1146, allocations: 166.5 kB / 478.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.1147, allocations: 23.94 kB / 478.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1147, allocations: 0 / 478.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.1147, allocations: 0 / 478.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1151, allocations: 463.7 kB / 478.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1154, allocations: 250.5 kB / 478.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1156, allocations: 0.6963 MB / 479.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.1157, allocations: 11.94 kB / 479.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.1157, allocations: 7.438 kB / 479.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1157, allocations: 0 / 479.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of Templates: time 0.002009/0.1177, allocations: 396.8 kB / 480 MB, free: 2.996 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/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