Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 109.2 kB / 17.93 MB, free: 5.547 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.001864/0.001865, allocations: 197.3 kB / 18.86 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 224.7 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 51.92 kB / 280.8 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 46.63 MB / 327.4 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005328/0.1074, allocations: 4.073 MB / 331.5 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1093, allocations: 0.9122 MB / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.1096, allocations: 12 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1098, allocations: 71.44 kB / 332.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.1102, allocations: 146.8 kB / 332.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1106, allocations: 123.9 kB / 332.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006686/0.1113, allocations: 0.6654 MB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.1116, allocations: 207 kB / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.1119, allocations: 255 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.1122, allocations: 290.6 kB / 334.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.1123, allocations: 56 kB / 334.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.1124, allocations: 56 kB / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1125, allocations: 127.5 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.1128, allocations: 306.4 kB / 334.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1132, allocations: 495 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1132, allocations: 0 / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1132, allocations: 0 / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1133, allocations: 3.938 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001439/0.1147, allocations: 0.8612 MB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1148, allocations: 11.89 kB / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1149, allocations: 68.19 kB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.1153, allocations: 363.7 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1154, allocations: 41.31 kB / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.1154, allocations: 48.38 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.1162, allocations: 483.5 kB / 337 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1163, allocations: 0 / 337 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.1163, allocations: 20 kB / 337.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1163, allocations: 12 kB / 337.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.1169, allocations: 332.3 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.1195, allocations: 1.705 MB / 339.1 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.12, allocations: 265.1 kB / 339.4 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.1202, allocations: 138 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.1202, allocations: 15.84 kB / 339.5 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1203, allocations: 38.55 kB / 339.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.1203, allocations: 0 / 339.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001895/0.1222, allocations: 0.95 MB / 340.5 MB, free: 7.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1222, allocations: 81.11 kB / 340.6 MB, free: 7.277 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.1226, allocations: 381.6 kB / 340.9 MB, free: 6.895 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.1227, allocations: 37.7 kB / 341 MB, free: 6.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1229, allocations: 279.5 kB / 341.3 MB, free: 6.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.123, allocations: 122.3 kB / 341.4 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1231, allocations: 78.03 kB / 341.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1232, allocations: 354.7 kB / 341.8 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.1235, allocations: 100.8 kB / 341.9 MB, free: 5.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.1237, allocations: 194.6 kB / 342.1 MB, free: 5.688 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.1242, allocations: 302.1 kB / 342.4 MB, free: 5.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1242, allocations: 7.938 kB / 342.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007903/0.125, allocations: 438.4 kB / 342.8 MB, free: 4.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.125, allocations: 8 kB / 342.8 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1251, allocations: 8.25 kB / 342.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/0.1254, allocations: 85.59 kB / 342.9 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.1257, allocations: 79.89 kB / 343 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.1284, allocations: 3.127 MB / 346.1 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.1288, allocations: 16.03 kB / 346.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1288, allocations: 12 kB / 346.2 MB, free: 1.293 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.1291, allocations: 173.9 kB / 346.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.1292, allocations: 43.52 kB / 346.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.1292, allocations: 43.47 kB / 346.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1292, allocations: 4 kB / 346.4 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.1293, allocations: 7.938 kB / 346.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1293, allocations: 0 / 346.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.1307, allocations: 0.9361 MB / 347.4 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1307, allocations: 0 / 347.4 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1309, allocations: 47.97 kB / 347.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/0.1312, allocations: 81.58 kB / 347.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1312, allocations: 4 kB / 347.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.1337, allocations: 3.138 MB / 350.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1337, allocations: 0 / 350.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.1346, allocations: 0.6169 MB / 351.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1347, allocations: 112.7 kB / 351.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.1348, allocations: 11.94 kB / 351.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.1351, allocations: 23.98 kB / 351.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.1352, allocations: 31.95 kB / 351.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1353, allocations: 12 kB / 351.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.1355, allocations: 271.2 kB / 351.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1355, allocations: 0 / 351.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005791/0.1361, allocations: 116 kB / 351.8 MB, free: 11.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.1363, allocations: 111.1 kB / 351.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009017/0.1372, allocations: 0.5167 MB / 352.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1372, allocations: 0 / 352.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.1378, allocations: 393.7 kB / 352.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.1384, allocations: 65.66 kB / 352.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1403, allocations: 1.207 MB / 354.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1407, allocations: 0.8353 MB / 354.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.1408, allocations: 35.44 kB / 355 MB, free: 7.957 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1408, allocations: 0 / 355 MB, free: 7.957 MB / 302.1 MB Notification: Performance of Templates: time 0.01145/0.1523, allocations: 8.878 MB / 363.8 MB, free: 15.07 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches