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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 78.88 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 151.2 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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=100,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=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.313e-05, allocations: 2.281 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02938/0.0294, allocations: 24.52 MB / 343.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.04617, allocations: 6.97 MB / 350.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006708/0.05288, allocations: 314.4 kB / 350.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03236/0.08524, allocations: 12.93 MB / 363.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.0976, allocations: 2.818 MB / 366.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006635/0.1042, allocations: 1.871 MB / 368.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0263/0.1305, allocations: 18.91 MB / 387.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05687/0.1874, allocations: 28.18 MB / 415.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03127/0.2187, allocations: 15.1 MB / 430.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01839/0.2371, allocations: 9.751 MB / 440.3 MB, free: 1.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008394/0.2455, allocations: 2.918 MB / 443.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.2574, allocations: 3.175 MB / 446.4 MB, free: 11.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01024/0.2676, allocations: 5.576 MB / 452 MB, free: 6.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01739/0.285, allocations: 7.233 MB / 459.2 MB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3514/0.6364, allocations: 39.49 MB / 498.7 MB, free: 64.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.6364, allocations: 1 kB / 498.7 MB, free: 64.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.6364, allocations: 0 / 498.7 MB, free: 64.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001013/0.6374, allocations: 0 / 498.7 MB, free: 64.28 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.07224/0.7097, allocations: 22.07 MB / 0.5085 GB, free: 53.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7097, allocations: 11.44 kB / 0.5086 GB, free: 53.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04999/0.7597, allocations: 8.414 MB / 0.5168 GB, free: 49.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02579/0.7855, allocations: 11.86 MB / 0.5283 GB, free: 42.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009899/0.7865, allocations: 1.344 MB / 0.5297 GB, free: 40.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007821/0.7943, allocations: 1.761 MB / 0.5314 GB, free: 39.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07778/0.8721, allocations: 28.97 MB / 0.5597 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000666/0.8728, allocations: 15.95 kB / 0.5597 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006314/0.8791, allocations: 0.7283 MB / 0.5604 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006473/0.8797, allocations: 0.8415 MB / 0.5612 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05422/0.9339, allocations: 24.71 MB / 0.5854 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3465/1.28, allocations: 76.1 MB / 0.6597 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/1.299, allocations: 12.75 MB / 0.6721 GB, free: 135.5 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008185/1.307, allocations: 5.033 MB / 0.677 GB, free: 135.5 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/1.308, allocations: 114 kB / 0.6771 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.453e-05/1.308, allocations: 97.98 kB / 0.6772 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=577): time 9.648e-06/1.308, allocations: 0 / 0.6772 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of matching and sorting (n=577): time 0.03139/1.339, allocations: 14.63 MB / 0.6915 GB, free: 134.7 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/1.339, allocations: 140.4 kB / 0.6917 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008539/1.348, allocations: 6.497 MB / 0.698 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008638/1.349, allocations: 117.9 kB / 0.6981 GB, free: 134 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003366/1.352, allocations: 7.866 MB / 0.7058 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.354, allocations: 2.076 MB / 0.7078 GB, free: 127.5 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002641/1.357, allocations: 2.082 MB / 0.7099 GB, free: 126.5 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.729e-05/1.357, allocations: 301.1 kB / 0.7101 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006011/1.363, allocations: 4.737 MB / 0.7148 GB, free: 124.5 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01538/1.378, allocations: 9.489 MB / 0.724 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02551/1.404, allocations: 15.3 MB / 0.739 GB, free: 98.93 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000251/1.404, allocations: 44 kB / 0.739 GB, free: 98.89 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02684/1.431, allocations: 15.36 MB / 0.754 GB, free: 83.45 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002004/1.431, allocations: 80.39 kB / 0.7541 GB, free: 83.37 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002603/1.431, allocations: 156.6 kB / 0.7542 GB, free: 83.22 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.436, allocations: 1.657 MB / 0.7559 GB, free: 81.55 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008419/1.445, allocations: 2.355 MB / 0.7582 GB, free: 79.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.459, allocations: 11.24 MB / 0.7691 GB, free: 67.87 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008914/1.468, allocations: 1.358 MB / 0.7705 GB, free: 66.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/1.47, allocations: 0.5273 MB / 0.771 GB, free: 65.97 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.01189/1.482, allocations: 7.141 MB / 0.7779 GB, free: 58.81 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.484, allocations: 0.6286 MB / 0.7786 GB, free: 58.18 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.5, allocations: 10.08 MB / 0.7884 GB, free: 47.98 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01033/1.51, allocations: 7.726 MB / 0.796 GB, free: 40.18 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.252e-05/1.51, allocations: 15.94 kB / 0.796 GB, free: 40.16 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/1.51, allocations: 35.83 kB / 0.796 GB, free: 40.12 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04211/1.552, allocations: 21.71 MB / 0.8172 GB, free: 18.31 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.553, allocations: 8 kB / 0.8172 GB, free: 18.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004157/1.557, allocations: 1.01 MB / 0.8182 GB, free: 17.29 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005183/1.562, allocations: 1.458 MB / 0.8196 GB, free: 15.83 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006963/1.563, allocations: 128 kB / 0.8197 GB, free: 15.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.576, allocations: 10.79 MB / 0.8303 GB, free: 4.82 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.576, allocations: 19.92 kB / 0.8303 GB, free: 4.801 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2438/1.82, allocations: 14.05 MB / 0.844 GB, free: 150 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003257/1.823, allocations: 1.413 MB / 0.8454 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/1.824, allocations: 118.3 kB / 0.8455 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/1.827, allocations: 319.5 kB / 0.8458 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008611/1.828, allocations: 423.7 kB / 0.8462 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003537/1.828, allocations: 168.5 kB / 0.8464 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006141/1.834, allocations: 4.155 MB / 0.8504 GB, free: 149.5 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9e-08/1.834, allocations: 3.531 kB / 0.8504 GB, free: 149.5 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01182/1.846, allocations: 4.104 MB / 0.8545 GB, free: 148.3 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.001318/1.847, allocations: 334.2 kB / 0.8548 GB, free: 148.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01506/1.862, allocations: 10.92 MB / 0.8654 GB, free: 144 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.862, allocations: 3.938 kB / 0.8654 GB, free: 144 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006191/1.869, allocations: 4.333 MB / 0.8697 GB, free: 142.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008375/1.877, allocations: 1.451 MB / 0.8711 GB, free: 141.8 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05223/1.929, allocations: 29.88 MB / 0.9003 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01549/1.945, allocations: 10.93 MB / 0.911 GB, free: 107.8 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00915/1.954, allocations: 3.856 MB / 0.9147 GB, free: 105.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/1.956, allocations: 0.5118 MB / 0.9152 GB, free: 104.8 MB / 0.4982 GB Notification: Performance of SimCode: time 1.192e-06/1.956, allocations: 0 / 0.9152 GB, free: 104.8 MB / 0.4982 GB Notification: Performance of Templates: time 0.1461/2.102, allocations: 89.51 MB / 1.003 GB, free: 16.68 MB / 0.4982 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.248796816915274]