Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 117.7 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 201 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 63.89 kB / 374.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.09113, allocations: 53.32 MB / 427.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2042/0.2954, allocations: 28.72 MB / 456.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.3121, allocations: 7.207 MB / 463.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007206/0.3194, allocations: 264.2 kB / 464 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0311/0.3505, allocations: 13.22 MB / 477.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.3615, allocations: 2.564 MB / 479.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006668/0.3682, allocations: 2.036 MB / 481.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0244/0.3926, allocations: 18.29 MB / 0.4884 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06178/0.4544, allocations: 34.25 MB / 0.5219 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/0.4707, allocations: 9.947 MB / 0.5316 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01866/0.4894, allocations: 11.12 MB / 0.5424 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007312/0.4967, allocations: 2.922 MB / 0.5453 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008968/0.5057, allocations: 3.195 MB / 0.5484 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008159/0.5138, allocations: 5.495 MB / 0.5538 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01936/0.5332, allocations: 10.81 MB / 0.5643 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04762/0.5808, allocations: 39.1 MB / 0.6025 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5808, allocations: 0 / 0.6025 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5808, allocations: 4 kB / 0.6025 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009378/0.5818, allocations: 0 / 0.6025 GB, free: 3.312 MB / 0.4981 GB 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.4467/1.028, allocations: 22.31 MB / 0.6243 GB, free: 136.2 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.028, allocations: 8.5 kB / 0.6243 GB, free: 136.2 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04691/1.075, allocations: 8.247 MB / 0.6324 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03283/1.108, allocations: 11.68 MB / 0.6438 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002649/1.111, allocations: 1.336 MB / 0.6451 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008948/1.12, allocations: 1.758 MB / 0.6468 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07748/1.197, allocations: 28.77 MB / 0.6749 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009068/1.198, allocations: 11.95 kB / 0.6749 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005724/1.204, allocations: 0.7298 MB / 0.6756 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006382/1.205, allocations: 0.8493 MB / 0.6765 GB, free: 105 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04869/1.253, allocations: 24.83 MB / 0.7007 GB, free: 80.18 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1271/1.38, allocations: 87.52 MB / 0.7862 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03395/1.414, allocations: 34.59 MB / 0.82 GB, free: 2.047 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009734/1.424, allocations: 5.049 MB / 0.8249 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007177/1.425, allocations: 330.5 kB / 0.8252 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.836e-05/1.425, allocations: 95.08 kB / 0.8253 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.904e-06/1.425, allocations: 0 / 0.8253 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03527/1.46, allocations: 14.77 MB / 0.8397 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.46, allocations: 137.6 kB / 0.8398 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.472, allocations: 6.428 MB / 0.8461 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008708/1.473, allocations: 117.7 kB / 0.8462 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.3826/1.855, allocations: 7.897 MB / 0.8539 GB, free: 198.2 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002119/1.857, allocations: 2.106 MB / 0.856 GB, free: 197.5 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002983/1.86, allocations: 2.118 MB / 0.8581 GB, free: 197.3 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/1.86, allocations: 301.9 kB / 0.8584 GB, free: 197 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007087/1.867, allocations: 4.742 MB / 0.863 GB, free: 196.9 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009385/1.877, allocations: 9.473 MB / 0.8722 GB, free: 189 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/1.894, allocations: 15.33 MB / 0.8872 GB, free: 177.9 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002688/1.894, allocations: 46.12 kB / 0.8873 GB, free: 177.9 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02258/1.917, allocations: 15.41 MB / 0.9023 GB, free: 171.7 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/1.917, allocations: 70.03 kB / 0.9024 GB, free: 171.7 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002675/1.917, allocations: 160.7 kB / 0.9025 GB, free: 171.7 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004964/1.922, allocations: 1.66 MB / 0.9042 GB, free: 171.4 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007436/1.93, allocations: 2.36 MB / 0.9065 GB, free: 171.2 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/1.943, allocations: 11.62 MB / 0.9178 GB, free: 164.9 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008273/1.951, allocations: 1.372 MB / 0.9191 GB, free: 164.4 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/1.953, allocations: 0.5383 MB / 0.9197 GB, free: 164.3 MB / 0.592 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.01122/1.965, allocations: 7.147 MB / 0.9267 GB, free: 158.5 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.966, allocations: 0.6365 MB / 0.9273 GB, free: 157.9 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.979, allocations: 10.07 MB / 0.9371 GB, free: 149.4 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009034/1.988, allocations: 7.77 MB / 0.9447 GB, free: 142.5 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/1.988, allocations: 19.56 kB / 0.9447 GB, free: 142.5 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.211e-05/1.988, allocations: 27.89 kB / 0.9447 GB, free: 142.5 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04078/2.029, allocations: 25.69 MB / 0.9698 GB, free: 116.7 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/2.029, allocations: 8 kB / 0.9698 GB, free: 116.7 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/2.032, allocations: 1.018 MB / 0.9708 GB, free: 115.7 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004565/2.037, allocations: 1.466 MB / 0.9723 GB, free: 114.2 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000676/2.037, allocations: 132.8 kB / 0.9724 GB, free: 114.1 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/2.049, allocations: 11.16 MB / 0.9833 GB, free: 102.8 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/2.049, allocations: 11.94 kB / 0.9833 GB, free: 102.8 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/2.064, allocations: 14.14 MB / 0.9971 GB, free: 88.32 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003261/2.067, allocations: 1.479 MB / 0.9986 GB, free: 86.9 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007372/2.068, allocations: 118 kB / 0.9987 GB, free: 86.79 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/2.07, allocations: 307.6 kB / 0.999 GB, free: 86.48 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005837/2.071, allocations: 408.4 kB / 0.9994 GB, free: 86.08 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/2.071, allocations: 180 kB / 0.9995 GB, free: 85.91 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.00487/2.076, allocations: 4.309 MB / 1.004 GB, free: 81.63 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.8e-07/2.076, allocations: 0 / 1.004 GB, free: 81.63 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.009265/2.085, allocations: 4.084 MB / 1.008 GB, free: 77.97 MB / 0.592 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.0007716/2.086, allocations: 331.7 kB / 1.008 GB, free: 77.65 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01337/2.099, allocations: 10.95 MB / 1.019 GB, free: 66.66 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.099, allocations: 3.5 kB / 1.019 GB, free: 66.66 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.005152/2.105, allocations: 4.341 MB / 1.023 GB, free: 62.3 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006468/2.111, allocations: 1.564 MB / 1.024 GB, free: 60.79 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04476/2.156, allocations: 28.94 MB / 1.053 GB, free: 31.63 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0127/2.169, allocations: 10.9 MB / 1.063 GB, free: 20.69 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/2.171, allocations: 0.6204 MB / 1.064 GB, free: 20.07 MB / 0.592 GB Notification: Performance of SimCode: time 1.303e-06/2.171, allocations: 3.938 kB / 1.064 GB, free: 20.06 MB / 0.592 GB Notification: Performance of Templates: time 0.8871/3.058, allocations: 285.6 MB / 1.343 GB, free: 175.1 MB / 0.6077 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 21.528904243954457]