Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 107.7 kB / 17.68 MB, free: 5.332 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.001106/0.001106, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009507/0.000951, allocations: 51.61 kB / 302.1 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08365, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1709/0.2546, allocations: 28.6 MB / 380.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.2679, allocations: 7.119 MB / 387.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005075/0.273, allocations: 264.2 kB / 387.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02572/0.2987, allocations: 13.11 MB / 400.6 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.3114, allocations: 2.679 MB / 403.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006488/0.3179, allocations: 1.85 MB / 405.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02194/0.3399, allocations: 18.11 MB / 423.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0734/0.4133, allocations: 44.46 MB / 467.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01812/0.4315, allocations: 9.917 MB / 477.6 MB, free: 6.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01916/0.4507, allocations: 11.06 MB / 488.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008778/0.4595, allocations: 2.918 MB / 491.6 MB, free: 8.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.4726, allocations: 3.175 MB / 494.7 MB, free: 5.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01037/0.483, allocations: 5.476 MB / 0.4885 GB, free: 176 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02074/0.5038, allocations: 10.82 MB / 0.4991 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4059/0.9097, allocations: 38.98 MB / 0.5371 GB, free: 78.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.9097, allocations: 0.875 kB / 0.5371 GB, free: 78.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.9097, allocations: 0.8125 kB / 0.5371 GB, free: 78.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009214/0.9106, allocations: 0 / 0.5371 GB, free: 78.94 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: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06667/0.9773, allocations: 21.93 MB / 0.5585 GB, free: 67.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9774, allocations: 15.2 kB / 0.5586 GB, free: 67.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04586/1.023, allocations: 8.331 MB / 0.5667 GB, free: 64.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02908/1.052, allocations: 11.61 MB / 0.578 GB, free: 53.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/1.053, allocations: 1.349 MB / 0.5794 GB, free: 52.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007925/1.061, allocations: 1.754 MB / 0.5811 GB, free: 50.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07667/1.138, allocations: 28.71 MB / 0.6091 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008273/1.139, allocations: 15.81 kB / 0.6091 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007343/1.146, allocations: 0.7258 MB / 0.6098 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006713/1.147, allocations: 0.8454 MB / 0.6107 GB, free: 19.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05349/1.2, allocations: 24.79 MB / 0.6349 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3694/1.57, allocations: 86.86 MB / 0.7197 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02284/1.593, allocations: 35.13 MB / 0.754 GB, free: 109.7 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007438/1.6, allocations: 5.289 MB / 0.7592 GB, free: 109.7 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/1.601, allocations: 210.6 kB / 0.7594 GB, free: 109.6 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/1.601, allocations: 94.95 kB / 0.7595 GB, free: 109.5 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=577): time 7.635e-06/1.601, allocations: 0 / 0.7595 GB, free: 109.5 MB / 0.4982 GB Notification: Performance of matching and sorting (n=577): time 0.03067/1.632, allocations: 14.72 MB / 0.7738 GB, free: 108.7 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.632, allocations: 139 kB / 0.774 GB, free: 108.6 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008957/1.641, allocations: 6.418 MB / 0.7802 GB, free: 108.2 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009877/1.642, allocations: 118 kB / 0.7803 GB, free: 108.2 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003464/1.645, allocations: 7.612 MB / 0.7878 GB, free: 103.8 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/1.647, allocations: 2.009 MB / 0.7897 GB, free: 102.6 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002766/1.65, allocations: 2.085 MB / 0.7918 GB, free: 102.4 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.137e-05/1.65, allocations: 305.1 kB / 0.7921 GB, free: 102.1 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/1.656, allocations: 4.745 MB / 0.7967 GB, free: 101.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008324/1.664, allocations: 9.459 MB / 0.8059 GB, free: 93.13 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/1.679, allocations: 15.31 MB / 0.8209 GB, free: 78.7 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001628/1.68, allocations: 51.94 kB / 0.8209 GB, free: 78.65 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02226/1.702, allocations: 15.37 MB / 0.836 GB, free: 63.2 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/1.702, allocations: 76.09 kB / 0.836 GB, free: 63.12 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/1.702, allocations: 160 kB / 0.8362 GB, free: 62.96 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004916/1.707, allocations: 1.657 MB / 0.8378 GB, free: 61.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007933/1.715, allocations: 2.351 MB / 0.8401 GB, free: 58.95 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.729, allocations: 11.59 MB / 0.8514 GB, free: 47.22 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008513/1.737, allocations: 1.349 MB / 0.8527 GB, free: 45.86 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002277/1.74, allocations: 0.5296 MB / 0.8532 GB, free: 45.34 MB / 0.4982 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.0127/1.752, allocations: 7.149 MB / 0.8602 GB, free: 38.17 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001834/1.754, allocations: 0.6056 MB / 0.8608 GB, free: 37.55 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.77, allocations: 10.11 MB / 0.8707 GB, free: 27.33 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0101/1.78, allocations: 7.765 MB / 0.8783 GB, free: 19.48 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.405e-05/1.78, allocations: 12 kB / 0.8783 GB, free: 19.47 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.609e-05/1.78, allocations: 27.89 kB / 0.8783 GB, free: 19.44 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2703/2.051, allocations: 25.45 MB / 0.9032 GB, free: 155.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/2.051, allocations: 11.7 kB / 0.9032 GB, free: 155.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003938/2.055, allocations: 1.009 MB / 0.9042 GB, free: 155.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004756/2.059, allocations: 1.46 MB / 0.9056 GB, free: 155.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005983/2.06, allocations: 128.4 kB / 0.9057 GB, free: 155.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/2.072, allocations: 11.14 MB / 0.9166 GB, free: 152.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/2.072, allocations: 15.19 kB / 0.9166 GB, free: 152.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/2.091, allocations: 14.1 MB / 0.9304 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003978/2.095, allocations: 1.44 MB / 0.9318 GB, free: 145.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/2.096, allocations: 113.1 kB / 0.9319 GB, free: 145.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/2.099, allocations: 324.5 kB / 0.9322 GB, free: 145.5 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008362/2.1, allocations: 398.2 kB / 0.9326 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003268/2.1, allocations: 164.6 kB / 0.9327 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006627/2.107, allocations: 4.31 MB / 0.9369 GB, free: 143.9 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.3e-07/2.107, allocations: 0 / 0.9369 GB, free: 143.9 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01277/2.12, allocations: 4.037 MB / 0.9409 GB, free: 142.6 MB / 0.4982 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.001265/2.121, allocations: 330.7 kB / 0.9412 GB, free: 142.3 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01775/2.139, allocations: 11.37 MB / 0.9523 GB, free: 134.3 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.139, allocations: 4.125 kB / 0.9523 GB, free: 134.3 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006364/2.145, allocations: 4.64 MB / 0.9568 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006927/2.152, allocations: 1.557 MB / 0.9584 GB, free: 129 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04913/2.201, allocations: 29.28 MB / 0.9869 GB, free: 102.5 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01642/2.218, allocations: 11.26 MB / 0.9979 GB, free: 92.61 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01032/2.228, allocations: 3.766 MB / 1.002 GB, free: 88.84 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/2.23, allocations: 0.5189 MB / 1.002 GB, free: 88.32 MB / 0.4982 GB Notification: Performance of SimCode: time 1.263e-06/2.23, allocations: 0 / 1.002 GB, free: 88.32 MB / 0.4982 GB Notification: Performance of Templates: time 0.3528/2.583, allocations: 94.83 MB / 1.095 GB, free: 143 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches