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.001622/0.001622, allocations: 112 kB / 20.43 MB, free: 1.465 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.001851/0.001851, allocations: 186.4 kB / 23.71 MB, free: 4.715 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.429/1.429, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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 0.001607/0.001607, allocations: 52.05 kB / 370.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03381/0.2706, allocations: 28.76 MB / 451.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.2862, allocations: 7.154 MB / 459 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005042/0.2912, allocations: 322.4 kB / 459.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03131/0.3226, allocations: 13.23 MB / 472.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009904/0.3325, allocations: 2.808 MB / 475.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006078/0.3385, allocations: 1.901 MB / 477.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02479/0.3633, allocations: 18.37 MB / 495.7 MB, free: 5.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05564/0.419, allocations: 26.95 MB / 0.5104 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01637/0.4353, allocations: 10.17 MB / 0.5203 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02112/0.4564, allocations: 11.14 MB / 0.5312 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008376/0.4648, allocations: 2.918 MB / 0.534 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4159/0.8807, allocations: 3.165 MB / 0.5371 GB, free: 41.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00743/0.8881, allocations: 5.488 MB / 0.5425 GB, free: 41.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01969/0.9078, allocations: 10.83 MB / 0.5531 GB, free: 40.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03466/0.9425, allocations: 39.08 MB / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9425, allocations: 0 / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9425, allocations: 1.156 kB / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001109/0.9436, allocations: 0 / 0.5912 GB, free: 19.68 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.06074/1.004, allocations: 22.23 MB / 0.6129 GB, free: 5.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.004, allocations: 12.03 kB / 0.6129 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04416/1.049, allocations: 8.407 MB / 0.6212 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02863/1.077, allocations: 11.87 MB / 0.6327 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001664/1.079, allocations: 1.334 MB / 0.634 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007213/1.086, allocations: 1.756 MB / 0.6358 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07355/1.16, allocations: 28.72 MB / 0.6638 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006741/1.16, allocations: 23.94 kB / 0.6638 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00494/1.165, allocations: 0.7279 MB / 0.6645 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009433/1.166, allocations: 0.8415 MB / 0.6654 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05496/1.221, allocations: 24.78 MB / 0.6896 GB, free: 7.715 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3799/1.601, allocations: 85.97 MB / 0.7735 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/1.62, allocations: 12.82 MB / 0.786 GB, free: 139.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007599/1.628, allocations: 5.031 MB / 0.791 GB, free: 139.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/1.628, allocations: 128.2 kB / 0.7911 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/1.629, allocations: 94.58 kB / 0.7912 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.384e-06/1.629, allocations: 0 / 0.7912 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03096/1.659, allocations: 14.65 MB / 0.8055 GB, free: 138.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/1.66, allocations: 138.1 kB / 0.8056 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00814/1.668, allocations: 6.432 MB / 0.8119 GB, free: 136.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007501/1.668, allocations: 120.1 kB / 0.812 GB, free: 136.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003363/1.672, allocations: 7.902 MB / 0.8197 GB, free: 129.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001808/1.674, allocations: 2.107 MB / 0.8218 GB, free: 127.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002648/1.676, allocations: 2.099 MB / 0.8238 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/1.676, allocations: 309 kB / 0.8241 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005777/1.682, allocations: 4.738 MB / 0.8287 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008442/1.691, allocations: 9.462 MB / 0.838 GB, free: 114.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01472/1.705, allocations: 15.3 MB / 0.8529 GB, free: 98.92 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001915/1.705, allocations: 51.94 kB / 0.853 GB, free: 98.87 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02534/1.731, allocations: 15.38 MB / 0.868 GB, free: 83.41 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/1.731, allocations: 72 kB / 0.8681 GB, free: 83.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/1.731, allocations: 160 kB / 0.8682 GB, free: 83.18 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004973/1.736, allocations: 1.653 MB / 0.8698 GB, free: 81.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007618/1.744, allocations: 2.355 MB / 0.8721 GB, free: 79.16 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/1.757, allocations: 11.51 MB / 0.8834 GB, free: 67.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/1.768, allocations: 1.381 MB / 0.8847 GB, free: 66.15 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/1.77, allocations: 0.5312 MB / 0.8852 GB, free: 65.62 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.01252/1.783, allocations: 7.141 MB / 0.8922 GB, free: 58.46 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.785, allocations: 0.6481 MB / 0.8928 GB, free: 57.81 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.8, allocations: 10.07 MB / 0.9027 GB, free: 47.63 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01083/1.811, allocations: 7.73 MB / 0.9102 GB, free: 39.82 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/1.811, allocations: 15.94 kB / 0.9102 GB, free: 39.8 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-05/1.811, allocations: 27.89 kB / 0.9103 GB, free: 39.77 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04816/1.859, allocations: 25.31 MB / 0.935 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.859, allocations: 8 kB / 0.935 GB, free: 14.33 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004524/1.863, allocations: 1.014 MB / 0.936 GB, free: 13.32 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004998/1.868, allocations: 1.461 MB / 0.9374 GB, free: 11.85 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009173/1.869, allocations: 128 kB / 0.9375 GB, free: 11.73 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/1.882, allocations: 11.05 MB / 0.9483 GB, free: 0.5625 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.882, allocations: 19.88 kB / 0.9483 GB, free: 0.543 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02683/1.909, allocations: 14.09 MB / 0.9621 GB, free: 2.105 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004978/1.914, allocations: 1.443 MB / 0.9635 GB, free: 0.6602 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009827/1.915, allocations: 108 kB / 0.9636 GB, free: 0.5547 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.918, allocations: 327.7 kB / 0.9639 GB, free: 240 kB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2368/2.155, allocations: 414.6 kB / 0.9643 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009928/2.156, allocations: 165.9 kB / 0.9645 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007712/2.163, allocations: 4.31 MB / 0.9687 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.51e-07/2.163, allocations: 0 / 0.9687 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01193/2.175, allocations: 4.09 MB / 0.9727 GB, free: 178.8 MB / 0.5763 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.001323/2.177, allocations: 320.4 kB / 0.973 GB, free: 178.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01571/2.192, allocations: 10.93 MB / 0.9837 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.192, allocations: 3.938 kB / 0.9837 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006471/2.199, allocations: 4.339 MB / 0.9879 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008772/2.207, allocations: 1.555 MB / 0.9894 GB, free: 175.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0594/2.267, allocations: 30 MB / 1.019 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02428/2.291, allocations: 11.26 MB / 1.03 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009958/2.301, allocations: 3.76 MB / 1.033 GB, free: 148.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/2.304, allocations: 0.5213 MB / 1.034 GB, free: 148.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.523e-06/2.304, allocations: 0 / 1.034 GB, free: 148.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.1562/2.46, allocations: 103.2 MB / 1.135 GB, free: 47.68 MB / 0.5763 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.87698002718389]