Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001454/0.001454, allocations: 191 kB / 19.29 MB, free: 3.703 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.334/1.334, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001281/0.001281, allocations: 51.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07658/0.07787, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006879/0.08479, allocations: 5.885 MB / 334.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.08843, allocations: 1.897 MB / 336.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006078/0.08908, allocations: 16 kB / 336.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.09274, allocations: 1.63 MB / 338.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.09461, allocations: 0.8355 MB / 339 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.09521, allocations: 283.4 kB / 339.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007934/0.09601, allocations: 0.8988 MB / 340.2 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.09716, allocations: 0.8644 MB / 341 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.09754, allocations: 390.5 kB / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.09808, allocations: 0.5331 MB / 341.9 MB, free: 6.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.61e-05/0.09818, allocations: 84 kB / 342 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.09862, allocations: 247.8 kB / 342.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.09877, allocations: 211.2 kB / 342.5 MB, free: 5.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.09914, allocations: 465.7 kB / 342.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1002, allocations: 1.238 MB / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1002, allocations: 0 / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1003, allocations: 0 / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1003, allocations: 0 / 344.2 MB, free: 4.215 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003165/0.1034, allocations: 1.417 MB / 345.6 MB, free: 2.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1035, allocations: 12.03 kB / 345.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00703/0.1105, allocations: 0.9598 MB / 346.6 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.1112, allocations: 454.9 kB / 347 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.1113, allocations: 86.55 kB / 347.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.1114, allocations: 108.4 kB / 347.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.1133, allocations: 1.129 MB / 348.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.1133, allocations: 7.938 kB / 348.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-05/0.1134, allocations: 44 kB / 348.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.1134, allocations: 28 kB / 348.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.1153, allocations: 1.136 MB / 349.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/0.1202, allocations: 3.929 MB / 353.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.1233, allocations: 3.756 MB / 357.2 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.1238, allocations: 316.6 kB / 357.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-05/0.1239, allocations: 97.64 kB / 357.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1239, allocations: 43.06 kB / 357.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.164e-06/0.1239, allocations: 4 kB / 357.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001355/0.1253, allocations: 0.76 MB / 358.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1254, allocations: 115.4 kB / 358.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1257, allocations: 324.2 kB / 358.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.1257, allocations: 33.7 kB / 358.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.126, allocations: 450.1 kB / 359.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.1261, allocations: 244.5 kB / 359.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.1264, allocations: 174.4 kB / 359.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1265, allocations: 354.8 kB / 360.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.1269, allocations: 245.9 kB / 360.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.1275, allocations: 0.567 MB / 360.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1287, allocations: 0.8715 MB / 361.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.1287, allocations: 0 / 361.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001388/0.1301, allocations: 0.8992 MB / 362.7 MB, free: 268 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1301, allocations: 15.92 kB / 362.7 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1301, allocations: 12 kB / 362.7 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.1301, allocations: 16 kB / 362.7 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.131, allocations: 231.7 kB / 362.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.131, allocations: 27.81 kB / 363 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.1315, allocations: 107.2 kB / 363.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.1316, allocations: 47.98 kB / 363.1 MB, free: 15.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0002745/0.1318, allocations: 241.5 kB / 363.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.132, allocations: 47.38 kB / 363.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.1331, allocations: 0.6783 MB / 364.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1332, allocations: 12 kB / 364.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1332, allocations: 0 / 364.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1332, allocations: 3.984 kB / 364.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.1355, allocations: 1.573 MB / 365.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.1355, allocations: 7.938 kB / 365.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.1361, allocations: 147.8 kB / 365.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.1361, allocations: 4 kB / 365.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.1362, allocations: 12 kB / 365.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.1362, allocations: 8 kB / 365.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1362, allocations: 0 / 365.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1377, allocations: 1.17 MB / 367 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1378, allocations: 128.5 kB / 367.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.1379, allocations: 23.98 kB / 367.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.1383, allocations: 16 kB / 367.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.1384, allocations: 48.59 kB / 367.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.1384, allocations: 23.98 kB / 367.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1386, allocations: 203.1 kB / 367.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1386, allocations: 0 / 367.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007977/0.1395, allocations: 255 kB / 367.7 MB, free: 11.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * 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.000223/0.1397, allocations: 151 kB / 367.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1408, allocations: 0.6873 MB / 368.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1408, allocations: 4.062 kB / 368.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.1412, allocations: 323.5 kB / 368.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.1418, allocations: 53.02 kB / 368.9 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.1439, allocations: 1.39 MB / 370.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.1445, allocations: 0.9241 MB / 371.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003235/0.1448, allocations: 92.89 kB / 371.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1449, allocations: 55.42 kB / 371.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.145, allocations: 0 / 371.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of Templates: time 0.009994/0.155, allocations: 5.062 MB / 376.4 MB, free: 2.324 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches