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.001318/0.001318, allocations: 109.5 kB / 17.86 MB, free: 5.629 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.001333/0.001333, allocations: 190 kB / 18.77 MB, free: 4.715 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.373/1.373, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.1991/0.1991, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 69.14 kB / 408.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1047, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003072/0.1078, allocations: 1.768 MB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.108, allocations: 71.73 kB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.1081, allocations: 4 kB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.318e-05/0.1082, allocations: 15.86 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.1083, allocations: 19.84 kB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.465e-05/0.1084, allocations: 19.98 kB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1085, allocations: 95.59 kB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1087, allocations: 48.3 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.1087, allocations: 31.92 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.1088, allocations: 47.77 kB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1088, allocations: 8 kB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.1088, allocations: 8 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.1089, allocations: 23.88 kB / 471.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.1089, allocations: 55.72 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.109, allocations: 99.98 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1091, allocations: 0 / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1091, allocations: 0 / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1091, allocations: 0 / 471.5 MB, free: 12.54 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.0004829/0.1096, allocations: 399.4 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1096, allocations: 8.031 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.1097, allocations: 8.844 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1098, allocations: 168.3 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1098, allocations: 8.609 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1098, allocations: 20.31 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1101, allocations: 129.5 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1101, allocations: 4.188 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1101, allocations: 3.938 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1101, allocations: 4 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1103, allocations: 63.97 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.1111, allocations: 0.7274 MB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.924e-05/0.1111, allocations: 177.1 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.1112, allocations: 80.14 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1112, allocations: 75.28 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.1113, allocations: 109.8 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1113, allocations: 0 / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.532e-05/0.1113, allocations: 33.61 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1114, allocations: 134.7 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1115, allocations: 148 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1116, allocations: 25.7 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.1116, allocations: 131.5 kB / 473.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.1116, allocations: 0 / 473.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.1117, allocations: 17.72 kB / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1118, allocations: 318.8 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.1118, allocations: 15.98 kB / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.03e-05/0.1119, allocations: 37.16 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.36e-05/0.1119, allocations: 61.03 kB / 474.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1119, allocations: 0 / 474.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001436/0.1121, allocations: 73.47 kB / 474.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1121, allocations: 11.98 kB / 474.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1121, allocations: 0 / 474.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1121, allocations: 4.188 kB / 474.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.1122, allocations: 15.94 kB / 474.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1122, allocations: 0 / 474.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.1123, allocations: 11.84 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1123, allocations: 11.88 kB / 474.5 MB, free: 9.254 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.026e-05/0.1124, allocations: 189.7 kB / 474.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.1125, allocations: 112.9 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.1125, allocations: 116.8 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.158e-05/0.1126, allocations: 180.3 kB / 475.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-05/0.1126, allocations: 180.2 kB / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.563e-05/0.1127, allocations: 184.3 kB / 475.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1129, allocations: 445.1 kB / 475.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.113, allocations: 105 kB / 475.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.113, allocations: 109.1 kB / 476.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.725e-05/0.1131, allocations: 180.2 kB / 476.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.1131, allocations: 176.3 kB / 476.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.399e-05/0.1132, allocations: 184.2 kB / 476.6 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.171e-05/0.1133, allocations: 184.2 kB / 476.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1134, allocations: 311.6 kB / 477.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.1135, allocations: 194 kB / 477.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.1136, allocations: 180.2 kB / 477.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1136, allocations: 101 kB / 477.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.1137, allocations: 184.2 kB / 477.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.1137, allocations: 105 kB / 477.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.1138, allocations: 115.2 kB / 477.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1138, allocations: 4 kB / 477.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1141, allocations: 15.94 kB / 477.9 MB, free: 5.551 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.0001012/0.1142, allocations: 166.5 kB / 478.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.37e-05/0.1143, allocations: 19.94 kB / 478.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1143, allocations: 384 / 478.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.1143, allocations: 4 kB / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1147, allocations: 0.5366 MB / 478.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.115, allocations: 305.7 kB / 479 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1153, allocations: 0.6965 MB / 479.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.1153, allocations: 11.44 kB / 479.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1153, allocations: 0 / 479.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of Templates: time 0.002152/0.1175, allocations: 0.8368 MB / 480.5 MB, free: 2.91 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