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.001306/0.001306, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.001368/0.001368, allocations: 151 kB / 24.49 MB, free: 3.723 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.377/1.377, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] 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 0.002188/0.002188, allocations: 50.45 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1114, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.04457/0.156, allocations: 24.5 MB / 396.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.1764, allocations: 6.965 MB / 403 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005828/0.1823, allocations: 314.4 kB / 403.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04278/0.225, allocations: 12.9 MB / 416.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.2381, allocations: 2.761 MB / 419 MB, free: 7.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008103/0.2462, allocations: 1.849 MB / 420.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02513/0.2714, allocations: 18.36 MB / 439.2 MB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04739/0.3187, allocations: 28.12 MB / 467.3 MB, free: 7.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3565/0.6753, allocations: 10.15 MB / 477.5 MB, free: 25.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01628/0.6916, allocations: 10.83 MB / 488.3 MB, free: 24.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007791/0.6994, allocations: 2.918 MB / 491.2 MB, free: 24.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.7098, allocations: 3.156 MB / 494.4 MB, free: 24.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008332/0.7181, allocations: 5.489 MB / 499.9 MB, free: 24.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01545/0.7336, allocations: 8.369 MB / 0.4963 GB, free: 21.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03116/0.7647, allocations: 39.26 MB / 0.5347 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7647, allocations: 0 / 0.5347 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.7647, allocations: 0 / 0.5347 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008129/0.7656, allocations: 4.469 kB / 0.5347 GB, free: 12.12 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.06177/0.8273, allocations: 22.23 MB / 0.5564 GB, free: 6.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.8274, allocations: 9.812 kB / 0.5564 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04608/0.8734, allocations: 8.413 MB / 0.5646 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02588/0.8993, allocations: 11.87 MB / 0.5762 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001373/0.9007, allocations: 1.346 MB / 0.5775 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006057/0.9068, allocations: 1.755 MB / 0.5792 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06817/0.9749, allocations: 28.96 MB / 0.6075 GB, free: 2.953 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006951/0.9756, allocations: 15.95 kB / 0.6075 GB, free: 2.938 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00505/0.9807, allocations: 0.7255 MB / 0.6082 GB, free: 2.223 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009723/0.9816, allocations: 0.8454 MB / 0.6091 GB, free: 1.375 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05175/1.033, allocations: 24.71 MB / 0.6332 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3316/1.365, allocations: 76.1 MB / 0.7075 GB, free: 105.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.382, allocations: 12.75 MB / 0.72 GB, free: 105.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00707/1.389, allocations: 5.023 MB / 0.7249 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/1.39, allocations: 113.4 kB / 0.725 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.243e-05/1.39, allocations: 93.77 kB / 0.7251 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.003e-05/1.39, allocations: 4 kB / 0.7251 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.0288/1.419, allocations: 14.63 MB / 0.7394 GB, free: 103.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/1.419, allocations: 137.8 kB / 0.7395 GB, free: 103.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0084/1.427, allocations: 6.496 MB / 0.7458 GB, free: 99.93 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005979/1.428, allocations: 116.5 kB / 0.7459 GB, free: 99.82 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002868/1.431, allocations: 7.903 MB / 0.7537 GB, free: 92.95 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.432, allocations: 2.11 MB / 0.7557 GB, free: 91.14 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002389/1.434, allocations: 2.098 MB / 0.7578 GB, free: 89.95 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.343e-05/1.434, allocations: 301.1 kB / 0.7581 GB, free: 89.65 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005311/1.44, allocations: 4.737 MB / 0.7627 GB, free: 87.12 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007021/1.447, allocations: 9.496 MB / 0.772 GB, free: 78.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.461, allocations: 15.3 MB / 0.7869 GB, free: 66.52 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/1.461, allocations: 51.94 kB / 0.7869 GB, free: 66.47 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02178/1.483, allocations: 15.36 MB / 0.8019 GB, free: 52.02 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/1.483, allocations: 72 kB / 0.802 GB, free: 51.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002316/1.483, allocations: 163.7 kB / 0.8022 GB, free: 51.79 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005007/1.488, allocations: 1.653 MB / 0.8038 GB, free: 50.14 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007315/1.495, allocations: 2.349 MB / 0.8061 GB, free: 47.96 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.508, allocations: 11.25 MB / 0.8171 GB, free: 36.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007284/1.515, allocations: 1.362 MB / 0.8184 GB, free: 35.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.517, allocations: 0.5273 MB / 0.8189 GB, free: 34.81 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.009873/1.527, allocations: 7.144 MB / 0.8259 GB, free: 27.84 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.528, allocations: 0.6287 MB / 0.8265 GB, free: 27.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.542, allocations: 10.07 MB / 0.8363 GB, free: 17.06 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009629/1.551, allocations: 7.732 MB / 0.8439 GB, free: 9.281 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/1.551, allocations: 17.28 kB / 0.8439 GB, free: 9.27 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/1.552, allocations: 31.89 kB / 0.8439 GB, free: 9.238 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04128/1.593, allocations: 21.72 MB / 0.8651 GB, free: 3.574 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/1.593, allocations: 8 kB / 0.8651 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00429/1.597, allocations: 1.006 MB / 0.8661 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005291/1.602, allocations: 1.454 MB / 0.8675 GB, free: 1.148 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00054/1.603, allocations: 135.8 kB / 0.8677 GB, free: 1.023 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.62, allocations: 10.79 MB / 0.8782 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.62, allocations: 14.91 kB / 0.8782 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/1.641, allocations: 14.08 MB / 0.892 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003358/1.645, allocations: 1.416 MB / 0.8934 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.646, allocations: 111.9 kB / 0.8935 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/1.649, allocations: 323.7 kB / 0.8938 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008074/1.65, allocations: 421.9 kB / 0.8942 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003938/1.65, allocations: 167.9 kB / 0.8943 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006594/1.657, allocations: 4.156 MB / 0.8984 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.657, allocations: 4 kB / 0.8984 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.2095/1.866, allocations: 4.103 MB / 0.9024 GB, free: 210.7 MB / 0.6075 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.001328/1.868, allocations: 316.3 kB / 0.9027 GB, free: 210.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01564/1.883, allocations: 10.93 MB / 0.9134 GB, free: 209.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.883, allocations: 0.6562 kB / 0.9134 GB, free: 209.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00566/1.889, allocations: 4.341 MB / 0.9176 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006121/1.895, allocations: 1.446 MB / 0.919 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/1.941, allocations: 29.95 MB / 0.9483 GB, free: 194.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01408/1.955, allocations: 10.94 MB / 0.959 GB, free: 187.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00822/1.964, allocations: 3.853 MB / 0.9627 GB, free: 185.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.965, allocations: 0.5111 MB / 0.9632 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/1.965, allocations: 0 / 0.9632 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.1382/2.103, allocations: 90.02 MB / 1.051 GB, free: 99.34 MB / 0.6075 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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.33998283802066]