Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 178.1 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007251/0.0007251, allocations: 82.33 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1771/0.1771, allocations: 43.69 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002586, allocations: 8 kB / 432.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09203, allocations: 58.86 MB / 491.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002302/0.09438, allocations: 2.131 MB / 493.3 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.09523, allocations: 0.6128 MB / 493.9 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.09534, allocations: 8 kB / 493.9 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.09545, allocations: 27.77 kB / 493.9 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.09556, allocations: 63.45 kB / 494 MB, free: 5.289 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.09575, allocations: 51.95 kB / 494 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.09602, allocations: 278.8 kB / 494.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.09619, allocations: 77.02 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.09634, allocations: 99.52 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.09647, allocations: 99.48 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.09651, allocations: 12 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.275e-05/0.09655, allocations: 16 kB / 494.6 MB, free: 4.664 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.0966, allocations: 43.83 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.09672, allocations: 141.1 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.09694, allocations: 259.2 kB / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.09695, allocations: 0 / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.09696, allocations: 0 / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.09697, allocations: 0 / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006405/0.09762, allocations: 0.4952 MB / 495.5 MB, free: 3.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.09766, allocations: 12.03 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.09771, allocations: 24.66 kB / 495.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.09796, allocations: 251.7 kB / 495.8 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.09799, allocations: 16.81 kB / 495.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.09803, allocations: 24.31 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.09837, allocations: 195.6 kB / 496.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.09839, allocations: 0 / 496.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.09842, allocations: 12 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.09844, allocations: 4 kB / 496.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.09871, allocations: 141.7 kB / 496.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.09988, allocations: 0.8181 MB / 497 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1001, allocations: 98.48 kB / 497.1 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.1002, allocations: 48.84 kB / 497.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1002, allocations: 8.125 kB / 497.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1002, allocations: 30.56 kB / 497.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1002, allocations: 0 / 497.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001588/0.1018, allocations: 0.7564 MB / 498 MB, free: 1.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1019, allocations: 55.41 kB / 498 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.102, allocations: 211.7 kB / 498.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1021, allocations: 29.7 kB / 498.3 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.1022, allocations: 163.8 kB / 498.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.1022, allocations: 51.27 kB / 498.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-06/0.1022, allocations: 7.938 kB / 498.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.1023, allocations: 334.8 kB / 498.8 MB, free: 180 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1025, allocations: 71.91 kB / 498.9 MB, free: 108 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1027, allocations: 108.2 kB / 499 MB, free: 15.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.1029, allocations: 191.8 kB / 499.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.103, allocations: 0 / 499.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000491/0.1035, allocations: 286.8 kB / 499.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1035, allocations: 7.984 kB / 499.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1035, allocations: 0.8125 kB / 499.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.1037, allocations: 69.69 kB / 499.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1039, allocations: 35.97 kB / 499.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.1059, allocations: 2.815 MB / 0.4906 GB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1061, allocations: 12.03 kB / 0.4906 GB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1061, allocations: 8 kB / 0.4906 GB, free: 12.27 MB / 346.7 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.1062, allocations: 133.8 kB / 0.4907 GB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.1063, allocations: 35.7 kB / 0.4908 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.1063, allocations: 25.81 kB / 0.4908 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1063, allocations: 0 / 0.4908 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1063, allocations: 4.188 kB / 0.4908 GB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1064, allocations: 4 kB / 0.4908 GB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.1066, allocations: 277.5 kB / 0.4911 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1066, allocations: 0 / 0.4911 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.1067, allocations: 23.98 kB / 0.4911 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.1069, allocations: 69.67 kB / 0.4912 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1069, allocations: 3.938 kB / 0.4912 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.1089, allocations: 2.796 MB / 0.4939 GB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1089, allocations: 0 / 0.4939 GB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.1095, allocations: 412.7 kB / 0.4943 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1096, allocations: 96.94 kB / 0.4944 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1096, allocations: 4 kB / 0.4944 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1098, allocations: 15.98 kB / 0.4944 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.1099, allocations: 24.03 kB / 0.4944 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1099, allocations: 4 kB / 0.4944 GB, free: 7.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.11, allocations: 153.5 kB / 0.4946 GB, free: 7.836 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.11, allocations: 0 / 0.4946 GB, free: 7.836 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.1103, allocations: 64 kB / 0.4946 GB, free: 7.773 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.258e-05/0.1104, allocations: 111.3 kB / 0.4947 GB, free: 7.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005903/0.111, allocations: 413.2 kB / 0.4951 GB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.111, allocations: 0 / 0.4951 GB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.1114, allocations: 337.8 kB / 0.4955 GB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1118, allocations: 32.2 kB / 0.4955 GB, free: 6.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.1127, allocations: 0.6364 MB / 0.4961 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1129, allocations: 0.7401 MB / 0.4968 GB, free: 5.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.81e-05/0.113, allocations: 17.95 kB / 0.4969 GB, free: 5.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.1131, allocations: 15.44 kB / 0.4969 GB, free: 5.379 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1131, allocations: 0 / 0.4969 GB, free: 5.379 MB / 346.7 MB Notification: Performance of Templates: time 0.00511/0.1182, allocations: 2.527 MB / 0.4993 GB, free: 2.855 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches