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.001208/0.001208, allocations: 113.2 kB / 17.69 MB, free: 5.309 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.001254/0.001254, allocations: 191 kB / 18.63 MB, free: 4.375 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.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 47.22 kB / 302.1 MB, free: 5.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09939, allocations: 49.45 MB / 351.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2036/0.3031, allocations: 28.59 MB / 380.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.3174, allocations: 7.133 MB / 387.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006749/0.3241, allocations: 259.8 kB / 387.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02602/0.3502, allocations: 13.1 MB / 400.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.3629, allocations: 2.688 MB / 403.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007111/0.37, allocations: 1.847 MB / 405.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02147/0.3915, allocations: 18.1 MB / 423.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0678/0.4593, allocations: 44.45 MB / 467.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.4725, allocations: 9.929 MB / 477.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0161/0.4887, allocations: 11.05 MB / 488.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005891/0.4946, allocations: 2.918 MB / 491.6 MB, free: 8.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008136/0.5027, allocations: 3.176 MB / 494.8 MB, free: 5.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006791/0.5095, allocations: 5.476 MB / 0.4885 GB, free: 192 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01631/0.5259, allocations: 10.82 MB / 0.4991 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3316/0.8575, allocations: 38.99 MB / 0.5371 GB, free: 79.01 MB / 430.2 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.8575, allocations: 2.25 kB / 0.5371 GB, free: 79.01 MB / 430.2 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8575, allocations: 0.875 kB / 0.5371 GB, free: 79.01 MB / 430.2 MB Notification: Performance of Transformations before backend: time 0.0009921/0.8585, allocations: 0.8125 kB / 0.5371 GB, free: 79.01 MB / 430.2 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.06306/0.9216, allocations: 21.92 MB / 0.5586 GB, free: 67.99 MB / 430.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.9217, allocations: 15.67 kB / 0.5586 GB, free: 67.98 MB / 430.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04232/0.964, allocations: 8.33 MB / 0.5667 GB, free: 64.2 MB / 430.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02373/0.9878, allocations: 11.62 MB / 0.5781 GB, free: 53.36 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/0.9888, allocations: 1.341 MB / 0.5794 GB, free: 52.02 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007881/0.9967, allocations: 1.761 MB / 0.5811 GB, free: 50.27 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06739/1.064, allocations: 28.71 MB / 0.6091 GB, free: 21.52 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006257/1.065, allocations: 19.81 kB / 0.6091 GB, free: 21.5 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007216/1.072, allocations: 0.7275 MB / 0.6098 GB, free: 20.79 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006446/1.073, allocations: 0.8519 MB / 0.6107 GB, free: 19.94 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04848/1.121, allocations: 24.78 MB / 0.6349 GB, free: 11.14 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3322/1.453, allocations: 86.86 MB / 0.7197 GB, free: 137 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/1.474, allocations: 35.13 MB / 0.754 GB, free: 109.5 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007626/1.482, allocations: 5.29 MB / 0.7592 GB, free: 109.5 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/1.483, allocations: 201 kB / 0.7594 GB, free: 109.4 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.488e-05/1.483, allocations: 107.7 kB / 0.7595 GB, free: 109.3 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=577): time 8.296e-06/1.483, allocations: 0 / 0.7595 GB, free: 109.3 MB / 0.4982 GB Notification: Performance of matching and sorting (n=577): time 0.02967/1.512, allocations: 14.72 MB / 0.7738 GB, free: 108.5 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/1.513, allocations: 136.3 kB / 0.774 GB, free: 108.4 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007556/1.52, allocations: 6.417 MB / 0.7802 GB, free: 108 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005191/1.521, allocations: 116.2 kB / 0.7804 GB, free: 108 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.523, allocations: 7.612 MB / 0.7878 GB, free: 103.6 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.525, allocations: 2.01 MB / 0.7898 GB, free: 102.4 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/1.527, allocations: 2.088 MB / 0.7918 GB, free: 102.2 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/1.527, allocations: 308.5 kB / 0.7921 GB, free: 101.9 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005399/1.533, allocations: 4.737 MB / 0.7967 GB, free: 101.1 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007702/1.54, allocations: 9.47 MB / 0.806 GB, free: 92.91 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/1.558, allocations: 15.3 MB / 0.8209 GB, free: 78.68 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003667/1.558, allocations: 51.98 kB / 0.8209 GB, free: 78.63 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02387/1.582, allocations: 15.37 MB / 0.836 GB, free: 63.17 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/1.582, allocations: 72 kB / 0.836 GB, free: 63.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/1.582, allocations: 163.9 kB / 0.8362 GB, free: 62.94 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/1.587, allocations: 1.661 MB / 0.8378 GB, free: 61.27 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007551/1.595, allocations: 2.351 MB / 0.8401 GB, free: 58.92 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.607, allocations: 11.59 MB / 0.8514 GB, free: 47.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00784/1.615, allocations: 1.351 MB / 0.8527 GB, free: 45.84 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.617, allocations: 0.5273 MB / 0.8533 GB, free: 45.31 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.01226/1.629, allocations: 7.149 MB / 0.8602 GB, free: 38.14 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/1.631, allocations: 0.6056 MB / 0.8608 GB, free: 37.53 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/1.645, allocations: 10.11 MB / 0.8707 GB, free: 27.3 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009748/1.654, allocations: 7.762 MB / 0.8783 GB, free: 19.46 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/1.654, allocations: 12 kB / 0.8783 GB, free: 19.45 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.447e-05/1.654, allocations: 29.58 kB / 0.8783 GB, free: 19.42 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2545/1.909, allocations: 25.44 MB / 0.9032 GB, free: 155.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.909, allocations: 13.16 kB / 0.9032 GB, free: 155.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004333/1.913, allocations: 1.014 MB / 0.9042 GB, free: 155.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005093/1.919, allocations: 1.46 MB / 0.9056 GB, free: 155.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008959/1.919, allocations: 123.8 kB / 0.9057 GB, free: 155.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.932, allocations: 11.14 MB / 0.9166 GB, free: 152.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/1.932, allocations: 18.92 kB / 0.9166 GB, free: 152.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/1.949, allocations: 14.09 MB / 0.9304 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002905/1.952, allocations: 1.438 MB / 0.9318 GB, free: 145.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008613/1.952, allocations: 111.3 kB / 0.9319 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.955, allocations: 325.6 kB / 0.9322 GB, free: 145.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/1.956, allocations: 399.2 kB / 0.9326 GB, free: 145.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/1.956, allocations: 164.5 kB / 0.9327 GB, free: 145.2 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006116/1.962, allocations: 4.306 MB / 0.9369 GB, free: 143.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.61e-07/1.962, allocations: 2 kB / 0.9369 GB, free: 143.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01223/1.975, allocations: 4.041 MB / 0.9409 GB, free: 142.4 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.001235/1.976, allocations: 329.2 kB / 0.9412 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01476/1.991, 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.173e-05/1.991, allocations: 4 kB / 0.9523 GB, free: 134.3 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006105/1.997, allocations: 4.638 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.007193/2.004, allocations: 1.574 MB / 0.9584 GB, free: 129 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04763/2.052, allocations: 29.26 MB / 0.987 GB, free: 102.5 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0158/2.068, allocations: 11.26 MB / 0.9979 GB, free: 92.69 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008157/2.076, allocations: 3.766 MB / 1.002 GB, free: 88.91 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/2.077, allocations: 0.515 MB / 1.002 GB, free: 88.4 MB / 0.4982 GB Notification: Performance of SimCode: time 7.32e-07/2.077, allocations: 0 / 1.002 GB, free: 88.4 MB / 0.4982 GB Notification: Performance of Templates: time 0.3774/2.455, allocations: 94.83 MB / 1.095 GB, free: 143.1 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 cvode -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