Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001822/0.001822, allocations: 119.5 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 214.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 227.7 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2167, allocations: 50.55 MB / 410.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03404/0.2507, allocations: 28.7 MB / 438.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.2653, allocations: 7.199 MB / 446.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005024/0.2703, allocations: 263.2 kB / 446.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02913/0.2995, allocations: 13.19 MB / 459.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009359/0.3088, allocations: 2.563 MB / 462.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005556/0.3144, allocations: 2.021 MB / 464.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02174/0.3361, allocations: 18.29 MB / 482.4 MB, free: 8.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0567/0.3928, allocations: 34.25 MB / 0.5046 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/0.4068, allocations: 9.95 MB / 0.5143 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01675/0.4235, allocations: 11.06 MB / 0.5251 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007591/0.4311, allocations: 2.918 MB / 0.5279 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009407/0.4405, allocations: 3.195 MB / 0.5311 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008711/0.4492, allocations: 5.487 MB / 0.5364 GB, free: 5.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3854/0.8346, allocations: 10.82 MB / 0.547 GB, free: 49.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03341/0.8681, allocations: 39.1 MB / 0.5852 GB, free: 37.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.8681, allocations: 0.8125 kB / 0.5852 GB, free: 37.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8681, allocations: 0 / 0.5852 GB, free: 37.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009262/0.869, allocations: 0.8125 kB / 0.5852 GB, free: 37.03 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06066/0.9296, allocations: 22.32 MB / 0.607 GB, free: 23.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.9297, allocations: 15.92 kB / 0.607 GB, free: 23.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04415/0.9738, allocations: 8.445 MB / 0.6152 GB, free: 17.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/0.9966, allocations: 11.65 MB / 0.6266 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/0.9976, allocations: 1.341 MB / 0.6279 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006485/1.004, allocations: 1.759 MB / 0.6296 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07359/1.078, allocations: 28.71 MB / 0.6577 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005611/1.078, allocations: 19.91 kB / 0.6577 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005377/1.084, allocations: 0.7282 MB / 0.6584 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/1.085, allocations: 0.8454 MB / 0.6592 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05529/1.14, allocations: 24.79 MB / 0.6834 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3678/1.508, allocations: 87.51 MB / 0.7689 GB, free: 161.5 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/1.531, allocations: 34.56 MB / 0.8026 GB, free: 134 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007273/1.539, allocations: 5.046 MB / 0.8076 GB, free: 133.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/1.539, allocations: 284.9 kB / 0.8078 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.564e-05/1.539, allocations: 99.25 kB / 0.8079 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 8.065e-06/1.539, allocations: 3.969 kB / 0.8079 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03074/1.57, allocations: 14.72 MB / 0.8223 GB, free: 132.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/1.57, allocations: 138.2 kB / 0.8224 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01/1.58, allocations: 6.43 MB / 0.8287 GB, free: 132.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008407/1.581, allocations: 118 kB / 0.8288 GB, free: 132.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00385/1.585, allocations: 7.902 MB / 0.8366 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/1.586, allocations: 2.105 MB / 0.8386 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003275/1.59, allocations: 2.101 MB / 0.8407 GB, free: 126.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.792e-05/1.59, allocations: 301.1 kB / 0.841 GB, free: 126 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005414/1.595, allocations: 4.732 MB / 0.8456 GB, free: 126 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006852/1.602, allocations: 9.466 MB / 0.8548 GB, free: 119.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/1.616, allocations: 15.31 MB / 0.8698 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.616, allocations: 49.44 kB / 0.8698 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02223/1.638, allocations: 15.37 MB / 0.8848 GB, free: 91.84 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/1.638, allocations: 72 kB / 0.8849 GB, free: 91.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/1.638, allocations: 160 kB / 0.885 GB, free: 91.61 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005271/1.644, allocations: 1.657 MB / 0.8867 GB, free: 89.95 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007946/1.652, allocations: 2.351 MB / 0.889 GB, free: 87.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/1.665, allocations: 11.62 MB / 0.9003 GB, free: 75.85 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007413/1.672, allocations: 1.381 MB / 0.9017 GB, free: 74.46 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.674, allocations: 0.5273 MB / 0.9022 GB, free: 73.93 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * 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.01013/1.684, allocations: 7.145 MB / 0.9092 GB, free: 66.77 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.685, allocations: 0.6443 MB / 0.9098 GB, free: 66.12 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.699, allocations: 10.07 MB / 0.9196 GB, free: 55.94 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009234/1.708, allocations: 7.73 MB / 0.9272 GB, free: 48.12 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/1.708, allocations: 12 kB / 0.9272 GB, free: 48.11 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/1.708, allocations: 31.88 kB / 0.9272 GB, free: 48.08 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0408/1.749, allocations: 25.66 MB / 0.9523 GB, free: 22.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.749, allocations: 8 kB / 0.9523 GB, free: 22.18 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/1.753, allocations: 1.002 MB / 0.9532 GB, free: 21.18 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004522/1.757, allocations: 1.465 MB / 0.9547 GB, free: 19.71 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/1.758, allocations: 124 kB / 0.9548 GB, free: 19.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/1.77, allocations: 11.17 MB / 0.9657 GB, free: 8.289 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.77, allocations: 17.25 kB / 0.9657 GB, free: 8.273 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2315/2.001, allocations: 14.09 MB / 0.9795 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003408/2.005, allocations: 1.461 MB / 0.9809 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008261/2.005, allocations: 122.3 kB / 0.981 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/2.008, allocations: 316.5 kB / 0.9813 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007232/2.009, allocations: 405.7 kB / 0.9817 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003258/2.009, allocations: 165.9 kB / 0.9819 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006716/2.016, allocations: 4.308 MB / 0.9861 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.01e-07/2.016, allocations: 0 / 0.9861 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01074/2.027, allocations: 4.084 MB / 0.9901 GB, free: 175.7 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (528): * Single equations (assignments): 525 * 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.001112/2.028, allocations: 337.9 kB / 0.9904 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01417/2.042, allocations: 10.92 MB / 1.001 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/2.042, allocations: 7.406 kB / 1.001 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005754/2.048, allocations: 4.332 MB / 1.005 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/2.055, allocations: 1.56 MB / 1.007 GB, free: 171.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0441/2.099, allocations: 29.72 MB / 1.036 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01239/2.111, allocations: 11.25 MB / 1.047 GB, free: 145.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008335/2.119, allocations: 3.765 MB / 1.05 GB, free: 142.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/2.121, allocations: 0.5217 MB / 1.051 GB, free: 142.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.132e-06/2.121, allocations: 0 / 1.051 GB, free: 142.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.1424/2.263, allocations: 100.1 MB / 1.149 GB, free: 44.82 MB / 0.5763 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches