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.001045/0.001045, allocations: 95.14 kB / 16.94 MB, free: 6.441 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.00116/0.00116, allocations: 188.5 kB / 17.83 MB, free: 6.008 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.58/1.58, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004391/0.0004393, allocations: 12 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.09942, allocations: 47.57 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02268/0.1221, allocations: 23.69 MB / 352 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.1375, allocations: 7.098 MB / 359.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.1423, allocations: 207.3 kB / 359.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005178/0.1475, allocations: 1.539 MB / 360.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009056/0.1566, allocations: 2.513 MB / 363.4 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005977/0.1626, allocations: 1.395 MB / 364.8 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3569/0.5195, allocations: 18.2 MB / 383 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07419/0.5937, allocations: 35.42 MB / 418.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01255/0.6064, allocations: 6.432 MB / 424.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01543/0.6218, allocations: 7.551 MB / 432.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007189/0.6291, allocations: 1.168 MB / 433.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.6392, allocations: 1.356 MB / 434.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009036/0.6483, allocations: 3.389 MB / 438.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00885/0.6572, allocations: 3.716 MB / 442 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04116/0.6984, allocations: 33.68 MB / 475.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6985, allocations: 4 kB / 475.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.6985, allocations: 0 / 475.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001408/0.6999, allocations: 0 / 475.7 MB, free: 4.098 MB / 366.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.05951/0.7594, allocations: 18.98 MB / 494.6 MB, free: 1.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.7595, allocations: 8.031 kB / 494.7 MB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06659/0.8261, allocations: 12.33 MB / 0.4951 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02745/0.8536, allocations: 10.43 MB / 0.5053 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001834/0.8555, allocations: 1.398 MB / 0.5067 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008652/0.8641, allocations: 1.828 MB / 0.5084 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4973/1.361, allocations: 30.59 MB / 0.5383 GB, free: 70.93 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001345/1.363, allocations: 21.14 kB / 0.5383 GB, free: 70.93 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007374/1.37, allocations: 0.7592 MB / 0.5391 GB, free: 70.93 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/1.372, allocations: 0.9899 MB / 0.54 GB, free: 70.89 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06339/1.435, allocations: 27.76 MB / 0.5672 GB, free: 70.73 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1544/1.59, allocations: 94.57 MB / 0.6595 GB, free: 4.438 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04068/1.63, allocations: 53.34 MB / 0.7116 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2578/1.888, allocations: 16.83 MB / 0.728 GB, free: 169.3 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/1.888, allocations: 81.38 kB / 0.7281 GB, free: 169.3 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=445): time 6.171e-06/1.888, allocations: 0 / 0.7281 GB, free: 169.3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=445): time 0.03485/1.923, allocations: 14.8 MB / 0.7426 GB, free: 164.6 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/1.923, allocations: 120.1 kB / 0.7427 GB, free: 164.5 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/1.935, allocations: 7.421 MB / 0.7499 GB, free: 162 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0009734/1.936, allocations: 96.89 kB / 0.75 GB, free: 161.9 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.004767/1.94, allocations: 8.499 MB / 0.7583 GB, free: 155.7 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.002061/1.942, allocations: 1.612 MB / 0.7599 GB, free: 154.5 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000713/1.943, allocations: 223.5 kB / 0.7601 GB, free: 154.4 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0005116/1.944, allocations: 0.7594 MB / 0.7609 GB, free: 153.9 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007099/1.951, allocations: 4.76 MB / 0.7655 GB, free: 152.1 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009756/1.961, allocations: 10.4 MB / 0.7757 GB, free: 142.7 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.971, allocations: 7.332 MB / 0.7828 GB, free: 139.5 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/1.971, allocations: 56.66 kB / 0.7829 GB, free: 139.5 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03242/2.003, allocations: 16.18 MB / 0.7987 GB, free: 132 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004289/2.004, allocations: 93 kB / 0.7988 GB, free: 131.9 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006527/2.005, allocations: 196 kB / 0.7989 GB, free: 131.7 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006088/2.011, allocations: 1.825 MB / 0.8007 GB, free: 130.3 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009387/2.02, allocations: 2.488 MB / 0.8032 GB, free: 128.2 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/2.038, allocations: 12.33 MB / 0.8152 GB, free: 116.4 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/2.05, allocations: 1.552 MB / 0.8167 GB, free: 114.9 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00254/2.052, allocations: 0.6015 MB / 0.8173 GB, free: 114.3 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * 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 (1308): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01524/2.068, allocations: 7.406 MB / 0.8245 GB, free: 106.8 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002111/2.07, allocations: 0.6349 MB / 0.8252 GB, free: 106.2 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/2.086, allocations: 8.358 MB / 0.8333 GB, free: 97.81 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008622/2.094, allocations: 6.745 MB / 0.8399 GB, free: 91.05 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/2.094, allocations: 16 kB / 0.8399 GB, free: 91.04 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.201e-05/2.095, allocations: 23.91 kB / 0.8399 GB, free: 91.01 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05029/2.145, allocations: 21.11 MB / 0.8606 GB, free: 69.92 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/2.145, allocations: 0 / 0.8606 GB, free: 69.92 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/2.148, allocations: 0.7528 MB / 0.8613 GB, free: 69.17 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005215/2.154, allocations: 1.56 MB / 0.8628 GB, free: 67.61 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/2.155, allocations: 91.97 kB / 0.8629 GB, free: 67.52 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/2.171, allocations: 11.98 MB / 0.8746 GB, free: 55.42 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.171, allocations: 0 / 0.8746 GB, free: 55.42 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/2.189, allocations: 12.03 MB / 0.8863 GB, free: 43.36 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004663/2.193, allocations: 1.378 MB / 0.8877 GB, free: 41.95 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/2.195, allocations: 72 kB / 0.8878 GB, free: 41.88 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004129/2.199, allocations: 303.7 kB / 0.8881 GB, free: 41.58 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007407/2.2, allocations: 304.3 kB / 0.8883 GB, free: 41.29 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/2.2, allocations: 124 kB / 0.8885 GB, free: 41.16 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008638/2.209, allocations: 4.867 MB / 0.8932 GB, free: 36.31 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.053e-06/2.209, allocations: 4 kB / 0.8932 GB, free: 36.31 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.3205/2.53, allocations: 4.199 MB / 0.8973 GB, free: 156.2 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (377): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/2.531, allocations: 273.5 kB / 0.8976 GB, free: 156.1 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.01962/2.551, allocations: 11.24 MB / 0.9086 GB, free: 154.7 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/2.551, allocations: 0 / 0.9086 GB, free: 154.7 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.008134/2.559, allocations: 4.171 MB / 0.9126 GB, free: 152.9 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006801/2.566, allocations: 1.396 MB / 0.914 GB, free: 152.5 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05842/2.624, allocations: 35.5 MB / 0.9487 GB, free: 133.9 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02479/2.649, allocations: 11.89 MB / 0.9603 GB, free: 129.8 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01424/2.663, allocations: 3.949 MB / 0.9641 GB, free: 129.4 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/2.666, allocations: 0.4976 MB / 0.9646 GB, free: 129.3 MB / 0.4983 GB Notification: Performance of SimCode: time 1.663e-06/2.666, allocations: 3.719 kB / 0.9646 GB, free: 129.3 MB / 0.4983 GB Notification: Performance of Templates: time 0.1639/2.83, allocations: 94.07 MB / 1.056 GB, free: 39.16 MB / 0.4983 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches