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.001757/0.001757, allocations: 72.09 kB / 20.67 MB, free: 1.047 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.001929/0.001929, allocations: 148.3 kB / 23.93 MB, free: 4.172 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.438/1.438, allocations: 173.4 MB / 200.5 MB, free: 12.87 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.182e-06/1.182e-06, allocations: 0 / 319 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.953e-05, allocations: 5.656 kB / 319 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02785/0.02787, allocations: 24.49 MB / 343.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.0439, allocations: 6.977 MB / 350.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004849/0.04875, allocations: 310.4 kB / 350.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03221/0.08096, allocations: 12.88 MB / 363.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.09216, allocations: 2.763 MB / 366.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005789/0.09795, allocations: 1.868 MB / 368.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02422/0.1222, allocations: 18.38 MB / 386.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05745/0.1796, allocations: 28.17 MB / 414.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02736/0.207, allocations: 15.08 MB / 429.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01776/0.2247, allocations: 9.747 MB / 439.7 MB, free: 2.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007131/0.2319, allocations: 2.918 MB / 442.6 MB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00992/0.2418, allocations: 3.163 MB / 445.7 MB, free: 12.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00872/0.2505, allocations: 5.556 MB / 451.3 MB, free: 6.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01366/0.2642, allocations: 7.225 MB / 458.5 MB, free: 15.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3282/0.5924, allocations: 39.5 MB / 498 MB, free: 65.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5924, allocations: 0.9062 kB / 498 MB, free: 65.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5924, allocations: 0 / 498 MB, free: 65.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009216/0.5933, allocations: 0 / 498 MB, free: 65.6 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.0658/0.6591, allocations: 22.24 MB / 0.5081 GB, free: 54.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.6592, allocations: 7.188 kB / 0.5081 GB, free: 54.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04461/0.7038, allocations: 8.408 MB / 0.5163 GB, free: 50.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02669/0.7305, allocations: 11.87 MB / 0.5279 GB, free: 43.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/0.7315, allocations: 1.344 MB / 0.5292 GB, free: 42.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007723/0.7392, allocations: 1.759 MB / 0.5309 GB, free: 40.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07391/0.8131, allocations: 28.97 MB / 0.5592 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007808/0.8139, allocations: 15.95 kB / 0.5592 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006994/0.8209, allocations: 0.7229 MB / 0.5599 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006532/0.8216, allocations: 0.8454 MB / 0.5607 GB, free: 9.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05379/0.8754, allocations: 24.71 MB / 0.5849 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3908/1.266, allocations: 76.09 MB / 0.6592 GB, free: 111.3 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/1.283, allocations: 12.75 MB / 0.6716 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006673/1.29, allocations: 5.033 MB / 0.6766 GB, free: 110.8 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/1.29, allocations: 107.5 kB / 0.6767 GB, free: 110.8 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/1.29, allocations: 94.58 kB / 0.6768 GB, free: 110.8 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=577): time 9.107e-06/1.29, allocations: 0 / 0.6768 GB, free: 110.8 MB / 0.4982 GB Notification: Performance of matching and sorting (n=577): time 0.02901/1.319, allocations: 14.63 MB / 0.691 GB, free: 110.1 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.319, allocations: 140.8 kB / 0.6912 GB, free: 110 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007877/1.327, allocations: 6.489 MB / 0.6975 GB, free: 109.6 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006232/1.328, allocations: 119 kB / 0.6976 GB, free: 109.6 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003135/1.331, allocations: 7.897 MB / 0.7053 GB, free: 103.7 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.333, allocations: 2.106 MB / 0.7074 GB, free: 101.9 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002622/1.335, allocations: 2.106 MB / 0.7095 GB, free: 100.7 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.221e-05/1.335, allocations: 309 kB / 0.7097 GB, free: 100.4 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005518/1.341, allocations: 4.732 MB / 0.7144 GB, free: 97.86 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007006/1.348, allocations: 9.493 MB / 0.7236 GB, free: 89.04 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/1.362, allocations: 15.31 MB / 0.7386 GB, free: 72.73 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.362, allocations: 44 kB / 0.7386 GB, free: 72.69 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02083/1.383, allocations: 15.34 MB / 0.7536 GB, free: 58.25 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/1.383, allocations: 75.98 kB / 0.7537 GB, free: 58.18 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002854/1.383, allocations: 160.6 kB / 0.7538 GB, free: 58.02 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005452/1.388, allocations: 1.656 MB / 0.7555 GB, free: 56.36 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007311/1.396, allocations: 2.36 MB / 0.7578 GB, free: 54.18 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/1.409, allocations: 11.24 MB / 0.7687 GB, free: 42.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007972/1.417, allocations: 1.362 MB / 0.7701 GB, free: 41.56 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001746/1.419, allocations: 0.5273 MB / 0.7706 GB, free: 41.03 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.01113/1.43, allocations: 7.143 MB / 0.7776 GB, free: 34.05 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.431, allocations: 0.6209 MB / 0.7782 GB, free: 33.43 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.447, allocations: 10.08 MB / 0.788 GB, free: 23.27 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0119/1.459, allocations: 7.734 MB / 0.7956 GB, free: 15.49 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.993e-05/1.459, allocations: 12 kB / 0.7956 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.208e-05/1.459, allocations: 31.89 kB / 0.7956 GB, free: 15.45 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0452/1.504, allocations: 21.71 MB / 0.8168 GB, free: 9.793 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/1.504, allocations: 8 kB / 0.8168 GB, free: 9.785 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004569/1.509, allocations: 1.009 MB / 0.8178 GB, free: 8.824 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005709/1.515, allocations: 1.458 MB / 0.8192 GB, free: 7.363 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008419/1.515, allocations: 124 kB / 0.8193 GB, free: 7.242 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.533, allocations: 10.8 MB / 0.8299 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.533, allocations: 11.66 kB / 0.8299 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02588/1.559, allocations: 14.06 MB / 0.8436 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005199/1.564, allocations: 1.416 MB / 0.845 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002125/1.566, allocations: 104 kB / 0.8451 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004704/1.571, allocations: 323.6 kB / 0.8454 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/1.572, allocations: 423.5 kB / 0.8458 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009418/1.573, allocations: 164 kB / 0.846 GB, free: 11.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0099/1.583, allocations: 4.156 MB / 0.85 GB, free: 7.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/1.583, allocations: 0 / 0.85 GB, free: 7.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01494/1.598, allocations: 4.11 MB / 0.8541 GB, free: 3.344 MB / 0.545 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.001558/1.6, allocations: 333 kB / 0.8544 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2249/1.825, allocations: 10.92 MB / 0.865 GB, free: 204.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.825, allocations: 7.688 kB / 0.865 GB, free: 204.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007138/1.832, allocations: 4.333 MB / 0.8693 GB, free: 204.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007254/1.839, allocations: 1.46 MB / 0.8707 GB, free: 204.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06039/1.9, allocations: 29.89 MB / 0.8999 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02184/1.921, allocations: 10.94 MB / 0.9106 GB, free: 180.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01118/1.933, allocations: 3.852 MB / 0.9143 GB, free: 177.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/1.935, allocations: 0.5062 MB / 0.9148 GB, free: 177.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/1.935, allocations: 0 / 0.9148 GB, free: 177.4 MB / 0.545 GB Notification: Performance of Templates: time 0.15/2.085, allocations: 90.1 MB / 1.003 GB, free: 88.64 MB / 0.545 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.290459930896759]