Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 51.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2225, allocations: 53.35 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0301/0.2526, allocations: 24.52 MB / 456.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.2664, allocations: 7.024 MB / 463.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.2695, allocations: 310.4 kB / 464.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02849/0.298, allocations: 12.2 MB / 476.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.3066, allocations: 2.633 MB / 479 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005143/0.3118, allocations: 2.043 MB / 481.1 MB, free: 5.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02211/0.3339, allocations: 18.54 MB / 499.6 MB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04903/0.3829, allocations: 28.39 MB / 0.5156 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01376/0.3967, allocations: 10.15 MB / 0.5255 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01652/0.4132, allocations: 11.15 MB / 0.5364 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3573/0.7704, allocations: 2.919 MB / 0.5393 GB, free: 39.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007745/0.7782, allocations: 3.192 MB / 0.5424 GB, free: 39.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005888/0.7841, allocations: 5.488 MB / 0.5477 GB, free: 39.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01215/0.7962, allocations: 8.37 MB / 0.5559 GB, free: 38.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02708/0.8233, allocations: 39.28 MB / 0.5943 GB, free: 19.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8233, allocations: 0.75 kB / 0.5943 GB, free: 19.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8233, allocations: 0 / 0.5943 GB, free: 19.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007887/0.8241, allocations: 4.797 kB / 0.5943 GB, free: 19.54 MB / 446.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.05268/0.8768, allocations: 22.24 MB / 0.616 GB, free: 2.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.8768, allocations: 8.031 kB / 0.616 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04555/0.9224, allocations: 8.241 MB / 0.624 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02824/0.9506, allocations: 11.89 MB / 0.6357 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/0.9519, allocations: 1.336 MB / 0.637 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006232/0.9582, allocations: 1.758 MB / 0.6387 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07062/1.029, allocations: 29.01 MB / 0.667 GB, free: 14.71 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005044/1.029, allocations: 18.53 kB / 0.667 GB, free: 14.7 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004495/1.034, allocations: 0.7296 MB / 0.6677 GB, free: 13.98 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008809/1.035, allocations: 0.8487 MB / 0.6686 GB, free: 13.14 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05268/1.087, allocations: 24.76 MB / 0.6928 GB, free: 4.355 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3484/1.436, allocations: 76.09 MB / 0.7671 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/1.452, allocations: 12.79 MB / 0.7795 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006646/1.459, allocations: 5.039 MB / 0.7845 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/1.459, allocations: 143.2 kB / 0.7846 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/1.46, allocations: 96.08 kB / 0.7847 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.548e-06/1.46, allocations: 0 / 0.7847 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.029/1.489, allocations: 14.67 MB / 0.799 GB, free: 139 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/1.489, allocations: 144.4 kB / 0.7992 GB, free: 138.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007572/1.496, allocations: 6.484 MB / 0.8055 GB, free: 136.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004886/1.497, allocations: 122.5 kB / 0.8056 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003123/1.5, allocations: 7.896 MB / 0.8133 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.501, allocations: 2.113 MB / 0.8154 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/1.504, allocations: 2.109 MB / 0.8174 GB, free: 127.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.316e-05/1.504, allocations: 305.1 kB / 0.8177 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005127/1.509, allocations: 4.745 MB / 0.8224 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006566/1.515, allocations: 9.503 MB / 0.8316 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/1.529, allocations: 15.33 MB / 0.8466 GB, free: 97.81 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/1.529, allocations: 44 kB / 0.8467 GB, free: 97.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02125/1.55, allocations: 15.39 MB / 0.8617 GB, free: 82.29 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.551, allocations: 72.56 kB / 0.8618 GB, free: 82.22 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/1.551, allocations: 164 kB / 0.8619 GB, free: 82.06 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/1.556, allocations: 1.654 MB / 0.8635 GB, free: 80.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00799/1.564, allocations: 2.368 MB / 0.8658 GB, free: 78.03 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.577, allocations: 11.25 MB / 0.8768 GB, free: 66.69 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007365/1.585, allocations: 1.354 MB / 0.8781 GB, free: 65.33 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.586, allocations: 0.539 MB / 0.8787 GB, free: 64.79 MB / 0.5607 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.009771/1.596, allocations: 7.137 MB / 0.8856 GB, free: 57.63 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.597, allocations: 0.6364 MB / 0.8863 GB, free: 56.99 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.61, allocations: 10.07 MB / 0.8961 GB, free: 46.81 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009159/1.619, allocations: 7.765 MB / 0.9037 GB, free: 38.96 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.619, allocations: 15.94 kB / 0.9037 GB, free: 38.95 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/1.619, allocations: 35.86 kB / 0.9037 GB, free: 38.91 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0343/1.654, allocations: 21.76 MB / 0.925 GB, free: 17.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.654, allocations: 8 kB / 0.925 GB, free: 17.02 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003986/1.658, allocations: 1.018 MB / 0.926 GB, free: 16 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00513/1.663, allocations: 1.461 MB / 0.9274 GB, free: 14.54 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/1.663, allocations: 139.9 kB / 0.9275 GB, free: 14.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.675, allocations: 10.8 MB / 0.9381 GB, free: 3.504 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.675, allocations: 8 kB / 0.9381 GB, free: 3.496 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/1.695, allocations: 14.13 MB / 0.9519 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004024/1.699, allocations: 1.419 MB / 0.9533 GB, free: 3.598 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008737/1.7, allocations: 108 kB / 0.9534 GB, free: 3.492 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.703, allocations: 323.6 kB / 0.9537 GB, free: 3.176 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008823/1.704, allocations: 428.2 kB / 0.9541 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000402/1.704, allocations: 176 kB / 0.9543 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006925/1.711, allocations: 4.152 MB / 0.9583 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.711, allocations: 0 / 0.9583 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01159/1.723, allocations: 4.11 MB / 0.9623 GB, free: 10.33 MB / 0.5919 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.001072/1.724, allocations: 320.7 kB / 0.9626 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2174/1.941, allocations: 10.95 MB / 0.9733 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.941, allocations: 2.688 kB / 0.9733 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007362/1.949, allocations: 4.347 MB / 0.9776 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/1.956, allocations: 1.456 MB / 0.979 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04397/2, allocations: 29.79 MB / 1.008 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0139/2.014, allocations: 10.93 MB / 1.019 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008131/2.022, allocations: 3.851 MB / 1.023 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/2.023, allocations: 0.5413 MB / 1.023 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/2.023, allocations: 0 / 1.023 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1472/2.17, allocations: 107 MB / 1.128 GB, free: 73.25 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.370235477006645]