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: 71.75 kB / 21.24 MB, free: 400 kB / 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.002188/0.002188, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.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.001556/0.001556, allocations: 55.94 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08924, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03003/0.1193, allocations: 24.51 MB / 403.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1339, allocations: 7.02 MB / 410.4 MB, free: 48 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003676/0.1375, allocations: 314.5 kB / 410.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03008/0.1676, allocations: 12.9 MB / 423.7 MB, free: 2.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008544/0.1762, allocations: 2.613 MB / 426.3 MB, free: 188 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005418/0.1816, allocations: 2.034 MB / 428.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02309/0.2047, allocations: 18.54 MB / 446.8 MB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3932/0.5979, allocations: 28.1 MB / 475 MB, free: 18.17 MB / 430.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/0.6115, allocations: 10.15 MB / 485.1 MB, free: 17.35 MB / 430.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01691/0.6284, allocations: 10.84 MB / 495.9 MB, free: 15.59 MB / 430.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0067/0.6351, allocations: 2.92 MB / 498.9 MB, free: 15.59 MB / 430.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008269/0.6434, allocations: 3.185 MB / 0.4903 GB, free: 15.59 MB / 430.2 MB Notification: Performance of NFScalarize.scalarize: time 0.006471/0.6498, allocations: 5.489 MB / 0.4956 GB, free: 14.96 MB / 430.2 MB Notification: Performance of NFVerifyModel.verify: time 0.01413/0.664, allocations: 8.373 MB / 0.5038 GB, free: 10.64 MB / 430.2 MB Notification: Performance of NFConvertDAE.convert: time 0.03545/0.6994, allocations: 39.27 MB / 0.5422 GB, free: 13.92 MB / 462.2 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.6994, allocations: 4 kB / 0.5422 GB, free: 13.91 MB / 462.2 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6994, allocations: 0 / 0.5422 GB, free: 13.91 MB / 462.2 MB Notification: Performance of Transformations before backend: time 0.0008491/0.7003, allocations: 4 kB / 0.5422 GB, free: 13.91 MB / 462.2 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.06246/0.7627, allocations: 22.23 MB / 0.5639 GB, free: 7.75 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.7628, allocations: 8.031 kB / 0.5639 GB, free: 7.742 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0469/0.8097, allocations: 8.244 MB / 0.5719 GB, free: 15.57 MB / 494.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02501/0.8347, allocations: 11.89 MB / 0.5836 GB, free: 4.086 MB / 494.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001443/0.8361, allocations: 1.335 MB / 0.5849 GB, free: 2.758 MB / 494.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005911/0.8421, allocations: 1.759 MB / 0.5866 GB, free: 1.016 MB / 494.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06811/0.9102, allocations: 29.02 MB / 0.6149 GB, free: 3.895 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000536/0.9107, allocations: 19.89 kB / 0.6149 GB, free: 3.875 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005323/0.916, allocations: 0.7264 MB / 0.6156 GB, free: 3.16 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000956/0.917, allocations: 0.8493 MB / 0.6165 GB, free: 2.309 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05233/0.9693, allocations: 24.76 MB / 0.6406 GB, free: 9.535 MB / 0.5451 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4947/1.464, allocations: 76.14 MB / 0.715 GB, free: 150.9 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01647/1.481, allocations: 12.78 MB / 0.7275 GB, free: 150.2 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006434/1.487, allocations: 5.032 MB / 0.7324 GB, free: 148.4 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/1.487, allocations: 142.6 kB / 0.7325 GB, free: 148.4 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.487, allocations: 95.95 kB / 0.7326 GB, free: 148.3 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=577): time 1.814e-05/1.487, allocations: 0 / 0.7326 GB, free: 148.3 MB / 0.5764 GB Notification: Performance of matching and sorting (n=577): time 0.02815/1.516, allocations: 14.68 MB / 0.747 GB, free: 143.7 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/1.516, allocations: 140.5 kB / 0.7471 GB, free: 143.6 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007176/1.523, allocations: 6.496 MB / 0.7534 GB, free: 140.4 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0005008/1.523, allocations: 117 kB / 0.7535 GB, free: 140.3 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.002985/1.526, allocations: 7.89 MB / 0.7613 GB, free: 134.7 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/1.528, allocations: 2.113 MB / 0.7633 GB, free: 133 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/1.53, allocations: 2.117 MB / 0.7654 GB, free: 131.8 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/1.53, allocations: 301.1 kB / 0.7657 GB, free: 131.5 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005196/1.535, allocations: 4.746 MB / 0.7703 GB, free: 129 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006583/1.542, allocations: 9.495 MB / 0.7796 GB, free: 118.5 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.554, allocations: 15.33 MB / 0.7945 GB, free: 101 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.719e-05/1.555, allocations: 44 kB / 0.7946 GB, free: 100.9 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01747/1.572, allocations: 15.4 MB / 0.8096 GB, free: 85.46 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/1.572, allocations: 79.98 kB / 0.8097 GB, free: 85.38 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/1.572, allocations: 156 kB / 0.8099 GB, free: 85.23 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00467/1.577, allocations: 1.654 MB / 0.8115 GB, free: 83.57 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00644/1.583, allocations: 2.363 MB / 0.8138 GB, free: 81.2 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.595, allocations: 11.26 MB / 0.8248 GB, free: 69.85 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006274/1.601, allocations: 1.354 MB / 0.8261 GB, free: 68.48 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007719/1.602, allocations: 0.5313 MB / 0.8266 GB, free: 67.95 MB / 0.5764 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.007911/1.61, allocations: 7.149 MB / 0.8336 GB, free: 60.78 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008421/1.611, allocations: 0.6287 MB / 0.8342 GB, free: 60.14 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/1.623, allocations: 10.07 MB / 0.844 GB, free: 49.96 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008993/1.632, allocations: 7.773 MB / 0.8516 GB, free: 42.1 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.632, allocations: 12 kB / 0.8516 GB, free: 42.09 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/1.632, allocations: 27.89 kB / 0.8517 GB, free: 42.06 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03158/1.664, allocations: 21.78 MB / 0.8729 GB, free: 20.17 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.664, allocations: 8 kB / 0.8729 GB, free: 20.16 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003708/1.668, allocations: 1.018 MB / 0.8739 GB, free: 19.14 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004482/1.672, allocations: 1.466 MB / 0.8754 GB, free: 17.67 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003043/1.672, allocations: 135.9 kB / 0.8755 GB, free: 17.54 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.684, allocations: 10.79 MB / 0.886 GB, free: 6.648 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.684, allocations: 8 kB / 0.886 GB, free: 6.641 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.703, allocations: 14.13 MB / 0.8998 GB, free: 8.16 MB / 0.5921 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003312/1.706, allocations: 1.42 MB / 0.9012 GB, free: 6.734 MB / 0.5921 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007724/1.707, allocations: 108 kB / 0.9013 GB, free: 6.629 MB / 0.5921 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/1.71, allocations: 319.7 kB / 0.9016 GB, free: 6.316 MB / 0.5921 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008199/1.71, allocations: 428.1 kB / 0.902 GB, free: 5.895 MB / 0.5921 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003941/1.711, allocations: 172 kB / 0.9022 GB, free: 5.727 MB / 0.5921 GB Notification: Performance of sorting global known variables: time 0.00732/1.718, allocations: 4.156 MB / 0.9063 GB, free: 1.598 MB / 0.5921 GB Notification: Performance of sort global known variables: time 2.11e-07/1.718, allocations: 0 / 0.9063 GB, free: 1.598 MB / 0.5921 GB Notification: Performance of remove unused functions: time 0.2125/1.931, allocations: 4.103 MB / 0.9103 GB, free: 185.8 MB / 0.5921 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.001391/1.932, allocations: 324.9 kB / 0.9106 GB, free: 185.7 MB / 0.5921 GB Notification: Performance of simCode: created initialization part: time 0.01701/1.949, allocations: 10.95 MB / 0.9213 GB, free: 184.8 MB / 0.5921 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.949, allocations: 3.844 kB / 0.9213 GB, free: 184.8 MB / 0.5921 GB Notification: Performance of simCode: created simulation system equations: time 0.005694/1.955, allocations: 4.341 MB / 0.9255 GB, free: 183.1 MB / 0.5921 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006219/1.961, allocations: 1.458 MB / 0.927 GB, free: 182.6 MB / 0.5921 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04163/2.003, allocations: 29.79 MB / 0.956 GB, free: 169.7 MB / 0.5921 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/2.013, allocations: 10.93 MB / 0.9667 GB, free: 162.4 MB / 0.5921 GB Notification: Performance of simCode: alias equations: time 0.007594/2.021, allocations: 3.855 MB / 0.9705 GB, free: 159.9 MB / 0.5921 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/2.022, allocations: 0.5406 MB / 0.971 GB, free: 159.3 MB / 0.5921 GB Notification: Performance of SimCode: time 1.022e-06/2.022, allocations: 4 kB / 0.971 GB, free: 159.3 MB / 0.5921 GB Notification: Performance of Templates: time 0.1368/2.159, allocations: 91.08 MB / 1.06 GB, free: 72.38 MB / 0.5921 GB " [Timeout remaining time 658] 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 -s ida -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: 9.429377279011533]