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.001817/0.001817, allocations: 112.5 kB / 18.45 MB, free: 4.543 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.002215/0.002215, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001531/0.001531, allocations: 51.92 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1039, allocations: 53.33 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2206/0.3245, allocations: 28.72 MB / 456.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.3413, allocations: 7.205 MB / 463.4 MB, free: 4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006543/0.3478, allocations: 311.3 kB / 463.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03068/0.3785, allocations: 13.23 MB / 477 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.3893, allocations: 2.563 MB / 479.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006578/0.3959, allocations: 2.032 MB / 481.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02433/0.4202, allocations: 18.3 MB / 499.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05939/0.4796, allocations: 34.25 MB / 0.5216 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01576/0.4954, allocations: 10.11 MB / 0.5315 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0177/0.5131, allocations: 11.13 MB / 0.5423 GB, free: 484 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006953/0.52, allocations: 2.918 MB / 0.5452 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009418/0.5294, allocations: 3.191 MB / 0.5483 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008608/0.538, allocations: 5.491 MB / 0.5537 GB, free: 4.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01891/0.5569, allocations: 10.82 MB / 0.5642 GB, free: 9.996 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04762/0.6046, allocations: 39.1 MB / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.6046, allocations: 0 / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6046, allocations: 0 / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009519/0.6055, allocations: 4 kB / 0.6024 GB, free: 2.766 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.4605/1.066, allocations: 22.3 MB / 0.6242 GB, free: 136 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.066, allocations: 10.34 kB / 0.6242 GB, free: 136 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06002/1.126, allocations: 8.251 MB / 0.6323 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02513/1.151, allocations: 11.69 MB / 0.6437 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001717/1.153, allocations: 1.34 MB / 0.645 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007299/1.16, allocations: 1.758 MB / 0.6467 GB, free: 128 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06286/1.223, allocations: 28.76 MB / 0.6748 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007125/1.224, allocations: 19.94 kB / 0.6748 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005536/1.229, allocations: 0.7334 MB / 0.6755 GB, free: 105.3 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006087/1.23, allocations: 0.8415 MB / 0.6763 GB, free: 104.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04566/1.276, allocations: 24.83 MB / 0.7006 GB, free: 79.63 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.117/1.393, allocations: 87.52 MB / 0.7861 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03365/1.426, allocations: 34.58 MB / 0.8198 GB, free: 1.473 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009302/1.436, allocations: 5.056 MB / 0.8248 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/1.436, allocations: 326.5 kB / 0.8251 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.506e-05/1.436, allocations: 95.06 kB / 0.8252 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.554e-06/1.436, allocations: 0 / 0.8252 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.0349/1.471, allocations: 14.77 MB / 0.8396 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.471, allocations: 141.6 kB / 0.8397 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009949/1.481, allocations: 6.433 MB / 0.846 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007855/1.482, allocations: 117.7 kB / 0.8461 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.4277/1.91, allocations: 7.891 MB / 0.8538 GB, free: 198 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002371/1.912, allocations: 2.108 MB / 0.8559 GB, free: 196.9 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003547/1.916, allocations: 2.115 MB / 0.8579 GB, free: 196.8 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/1.916, allocations: 302.9 kB / 0.8582 GB, free: 196.5 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007815/1.924, allocations: 4.746 MB / 0.8629 GB, free: 196.4 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.935, allocations: 9.473 MB / 0.8721 GB, free: 188.6 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/1.954, allocations: 15.33 MB / 0.8871 GB, free: 177.5 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003401/1.954, allocations: 45 kB / 0.8871 GB, free: 177.5 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02555/1.979, allocations: 15.42 MB / 0.9022 GB, free: 171.3 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/1.98, allocations: 74.81 kB / 0.9023 GB, free: 171.3 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003136/1.98, allocations: 160.4 kB / 0.9024 GB, free: 171.3 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/1.985, allocations: 1.663 MB / 0.904 GB, free: 170.9 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00804/1.993, allocations: 2.355 MB / 0.9063 GB, free: 170.7 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/2.007, allocations: 11.62 MB / 0.9177 GB, free: 164.5 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00837/2.015, allocations: 1.369 MB / 0.919 GB, free: 163.9 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/2.017, allocations: 0.5381 MB / 0.9195 GB, free: 163.8 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.012/2.029, allocations: 7.147 MB / 0.9265 GB, free: 158 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/2.031, allocations: 0.6481 MB / 0.9272 GB, free: 157.3 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/2.044, allocations: 10.06 MB / 0.937 GB, free: 148.9 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009408/2.053, allocations: 7.759 MB / 0.9446 GB, free: 141.9 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/2.053, allocations: 23.53 kB / 0.9446 GB, free: 141.9 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-05/2.053, allocations: 35.81 kB / 0.9446 GB, free: 141.9 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04173/2.095, allocations: 25.68 MB / 0.9697 GB, free: 116 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/2.095, allocations: 8 kB / 0.9697 GB, free: 116 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003868/2.099, allocations: 1.023 MB / 0.9707 GB, free: 115 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004689/2.103, allocations: 1.461 MB / 0.9721 GB, free: 113.5 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008571/2.104, allocations: 136 kB / 0.9723 GB, free: 113.4 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/2.117, allocations: 11.17 MB / 0.9832 GB, free: 102.2 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/2.117, allocations: 15.88 kB / 0.9832 GB, free: 102.1 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/2.136, allocations: 14.13 MB / 0.997 GB, free: 87.67 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00438/2.14, allocations: 1.479 MB / 0.9984 GB, free: 86.25 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00184/2.142, allocations: 112 kB / 0.9985 GB, free: 86.14 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/2.146, allocations: 319.7 kB / 0.9988 GB, free: 85.83 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008939/2.147, allocations: 408.4 kB / 0.9992 GB, free: 85.43 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003212/2.148, allocations: 176 kB / 0.9994 GB, free: 85.26 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.005858/2.154, allocations: 4.305 MB / 1.004 GB, free: 80.98 MB / 0.592 GB Notification: Performance of sort global known variables: time 8e-08/2.154, allocations: 4 kB / 1.004 GB, free: 80.98 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01234/2.166, allocations: 4.081 MB / 1.008 GB, free: 77.26 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.001836/2.168, allocations: 344.4 kB / 1.008 GB, free: 76.94 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01811/2.186, allocations: 10.94 MB / 1.019 GB, free: 65.95 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/2.186, allocations: 6 kB / 1.019 GB, free: 65.94 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.007366/2.193, allocations: 4.336 MB / 1.023 GB, free: 61.59 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009589/2.203, allocations: 1.56 MB / 1.024 GB, free: 60.08 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04684/2.25, allocations: 28.95 MB / 1.053 GB, free: 30.92 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0125/2.262, allocations: 10.9 MB / 1.063 GB, free: 19.98 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002601/2.265, allocations: 0.6165 MB / 1.064 GB, free: 19.36 MB / 0.592 GB Notification: Performance of SimCode: time 1.403e-06/2.265, allocations: 4 kB / 1.064 GB, free: 19.36 MB / 0.592 GB Notification: Performance of Templates: time 0.9084/3.173, allocations: 285.7 MB / 1.343 GB, free: 174.5 MB / 0.6077 GB " [Timeout remaining time 657] 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 -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: 23.597032413992565]