Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001684/0.001684, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.329/1.329, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001306/0.001306, allocations: 47.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08722, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02792/0.1152, allocations: 29.56 MB / 358.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.1298, allocations: 7.422 MB / 365.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005393/0.1352, allocations: 219.3 kB / 365.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02865/0.1639, allocations: 13.17 MB / 379.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1658/0.3297, allocations: 3.039 MB / 382.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006557/0.3363, allocations: 1.891 MB / 384 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02148/0.3578, allocations: 18.93 MB / 403 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07236/0.4302, allocations: 44.66 MB / 447.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01798/0.4482, allocations: 10.3 MB / 457.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01849/0.4667, allocations: 11.53 MB / 469.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007862/0.4746, allocations: 2.977 MB / 472.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009921/0.4846, allocations: 3.227 MB / 475.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00822/0.4928, allocations: 5.765 MB / 481.4 MB, free: 3.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01794/0.5108, allocations: 11.22 MB / 492.6 MB, free: 8.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04225/0.5531, allocations: 39.66 MB / 0.5198 GB, free: 1.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5531, allocations: 0 / 0.5198 GB, free: 1.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5531, allocations: 0 / 0.5198 GB, free: 1.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001553/0.5547, allocations: 0 / 0.5198 GB, free: 1.723 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.3876/0.9424, allocations: 22.87 MB / 0.5422 GB, free: 129.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.9424, allocations: 9.531 kB / 0.5422 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06574/1.008, allocations: 12.29 MB / 0.5542 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02267/1.031, allocations: 10.54 MB / 0.5645 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009914/1.032, allocations: 1.399 MB / 0.5658 GB, free: 119.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006676/1.039, allocations: 1.839 MB / 0.5676 GB, free: 119.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06587/1.104, allocations: 30.84 MB / 0.5977 GB, free: 90.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000569/1.105, allocations: 23.77 kB / 0.5978 GB, free: 90.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005946/1.111, allocations: 0.7623 MB / 0.5985 GB, free: 89.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007725/1.112, allocations: 0.9607 MB / 0.5994 GB, free: 88.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04762/1.159, allocations: 27.87 MB / 0.6267 GB, free: 60.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4422/1.602, allocations: 93.2 MB / 0.7177 GB, free: 122.9 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03072/1.632, allocations: 53.34 MB / 0.7698 GB, free: 77.95 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008341/1.641, allocations: 5.847 MB / 0.7755 GB, free: 77.87 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02408/1.665, allocations: 16.58 MB / 0.7916 GB, free: 74.1 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.665, allocations: 76.84 kB / 0.7917 GB, free: 74.03 MB / 478.3 MB Notification: Performance of pre-optimization done (n=427): time 5.571e-06/1.665, allocations: 3.938 kB / 0.7917 GB, free: 74.02 MB / 478.3 MB Notification: Performance of matching and sorting (n=427): time 0.02849/1.693, allocations: 13.21 MB / 0.8046 GB, free: 70.1 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.694, allocations: 124.6 kB / 0.8047 GB, free: 70 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/1.704, allocations: 7.482 MB / 0.8121 GB, free: 67.4 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0006558/1.705, allocations: 92.98 kB / 0.8121 GB, free: 67.32 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.003865/1.709, allocations: 8.531 MB / 0.8205 GB, free: 59.92 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.71, allocations: 1.555 MB / 0.822 GB, free: 58.61 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002643/1.713, allocations: 2.279 MB / 0.8242 GB, free: 57.3 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 3.565e-05/1.713, allocations: 301.1 kB / 0.8245 GB, free: 57.01 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005408/1.718, allocations: 4.704 MB / 0.8291 GB, free: 54.52 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007434/1.726, allocations: 10.41 MB / 0.8393 GB, free: 44.12 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.739, allocations: 15.98 MB / 0.8549 GB, free: 27.98 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/1.739, allocations: 56 kB / 0.8549 GB, free: 27.92 MB / 478.3 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02253/1.762, allocations: 16.02 MB / 0.8706 GB, free: 11.89 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.762, allocations: 88 kB / 0.8706 GB, free: 11.8 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/1.762, allocations: 199.9 kB / 0.8708 GB, free: 11.61 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00483/1.767, allocations: 1.696 MB / 0.8725 GB, free: 9.906 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007499/1.775, allocations: 2.499 MB / 0.8749 GB, free: 7.402 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.788, allocations: 11.53 MB / 0.8862 GB, free: 11.74 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008556/1.797, allocations: 1.556 MB / 0.8877 GB, free: 10.17 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.798, allocations: 0.5898 MB / 0.8883 GB, free: 9.582 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01172/1.81, allocations: 7.394 MB / 0.8955 GB, free: 2.168 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.811, allocations: 0.6325 MB / 0.8961 GB, free: 1.527 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1935/2.005, allocations: 8.081 MB / 0.904 GB, free: 149.3 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009045/2.014, allocations: 6.486 MB / 0.9104 GB, free: 147 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/2.014, allocations: 15.69 kB / 0.9104 GB, free: 147 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.829e-05/2.014, allocations: 21.98 kB / 0.9104 GB, free: 147 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03441/2.048, allocations: 20.73 MB / 0.9306 GB, free: 139.2 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/2.048, allocations: 3.938 kB / 0.9306 GB, free: 139.2 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00299/2.051, allocations: 0.7671 MB / 0.9314 GB, free: 139.2 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/2.056, allocations: 1.448 MB / 0.9328 GB, free: 138.9 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004658/2.056, allocations: 95.95 kB / 0.9329 GB, free: 138.8 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/2.069, allocations: 11.15 MB / 0.9438 GB, free: 133 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.069, allocations: 3.938 kB / 0.9438 GB, free: 133 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/2.084, allocations: 11.7 MB / 0.9552 GB, free: 128.3 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00392/2.088, allocations: 1.314 MB / 0.9565 GB, free: 127.5 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001745/2.089, allocations: 77.78 kB / 0.9566 GB, free: 127.4 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/2.093, allocations: 306.6 kB / 0.9569 GB, free: 127.4 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007308/2.094, allocations: 296.6 kB / 0.9571 GB, free: 127.3 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/2.094, allocations: 117.6 kB / 0.9573 GB, free: 127.3 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.00769/2.102, allocations: 4.926 MB / 0.9621 GB, free: 123.3 MB / 494.3 MB Notification: Performance of sort global known variables: time 5.91e-07/2.102, allocations: 0 / 0.9621 GB, free: 123.3 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01307/2.115, allocations: 4.19 MB / 0.9662 GB, free: 119.1 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_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 (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/2.116, allocations: 274.6 kB / 0.9664 GB, free: 118.8 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01505/2.131, allocations: 10.97 MB / 0.9771 GB, free: 108.1 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/2.131, allocations: 0 / 0.9771 GB, free: 108.1 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.005558/2.137, allocations: 3.943 MB / 0.981 GB, free: 104.2 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007339/2.144, allocations: 1.542 MB / 0.9825 GB, free: 102.7 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05295/2.197, allocations: 29.67 MB / 1.011 GB, free: 73.02 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01653/2.214, allocations: 11.6 MB / 1.023 GB, free: 61.37 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.01029/2.224, allocations: 3.975 MB / 1.027 GB, free: 57.38 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/2.227, allocations: 0.4994 MB / 1.027 GB, free: 56.88 MB / 494.3 MB Notification: Performance of SimCode: time 1.052e-06/2.227, allocations: 0 / 1.027 GB, free: 56.88 MB / 494.3 MB Notification: Performance of Templates: time 0.3466/2.573, allocations: 89.52 MB / 1.115 GB, free: 125.2 MB / 494.3 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches