Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002089/0.002089, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.87e-05, allocations: 3.312 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.005881/0.0059, allocations: 4.566 MB / 329.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.009086, allocations: 1.733 MB / 331.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.009319, allocations: 14.03 kB / 331.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.01194, allocations: 1.16 MB / 332.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.01333, allocations: 0.6178 MB / 333.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.01457, allocations: 0.5742 MB / 333.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.01541, allocations: 0.7794 MB / 334.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.01616, allocations: 0.5241 MB / 335 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.01674, allocations: 484.4 kB / 335.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.01716, allocations: 324.4 kB / 335.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.801e-05/0.01724, allocations: 66.94 kB / 335.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.01769, allocations: 239.3 kB / 336.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.01784, allocations: 172.6 kB / 336.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.01812, allocations: 256.7 kB / 336.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.01928, allocations: 1.048 MB / 337.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01929, allocations: 0 / 337.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01929, allocations: 0.9688 kB / 337.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.0193, allocations: 0 / 337.5 MB, free: 8.172 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003823/0.02312, allocations: 1.326 MB / 338.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.02315, allocations: 11.98 kB / 338.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/0.02926, allocations: 0.7848 MB / 339.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.02988, allocations: 360.8 kB / 340 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.02994, allocations: 58.38 kB / 340.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.03007, allocations: 80.36 kB / 340.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.03154, allocations: 0.8234 MB / 341 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.03157, allocations: 3.938 kB / 341 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.03165, allocations: 32 kB / 341 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.03166, allocations: 20 kB / 341 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.03334, allocations: 0.8941 MB / 341.9 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.03722, allocations: 2.2 MB / 344.1 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.03911, allocations: 0.7841 MB / 344.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.03964, allocations: 295.1 kB / 345.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-05/0.03974, allocations: 28.62 kB / 345.2 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.03978, allocations: 43.16 kB / 345.3 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.134e-06/0.03978, allocations: 0 / 345.3 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.00376/0.04354, allocations: 1.267 MB / 346.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.04358, allocations: 60.06 kB / 346.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.04385, allocations: 249.8 kB / 346.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.0439, allocations: 37.7 kB / 346.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.04411, allocations: 296.6 kB / 347.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.04432, allocations: 265.7 kB / 347.4 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.04451, allocations: 126.6 kB / 347.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.04468, allocations: 354.8 kB / 347.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.04517, allocations: 233.9 kB / 348.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.04575, allocations: 362.5 kB / 348.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.04689, allocations: 0.6259 MB / 349.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.04689, allocations: 4 kB / 349.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001859/0.04875, allocations: 0.8647 MB / 350 MB, free: 11.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.04877, allocations: 4 kB / 350 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.04878, allocations: 4 kB / 350 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008041/0.04958, allocations: 207.4 kB / 350.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.05014, allocations: 135.8 kB / 350.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/0.05364, allocations: 2.526 MB / 352.8 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.05406, allocations: 71.55 kB / 352.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.05412, allocations: 35.98 kB / 352.9 MB, free: 8.688 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.05442, allocations: 205.6 kB / 353.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.05451, allocations: 43.7 kB / 353.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.05651, allocations: 0.882 MB / 354.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.05651, allocations: 8 kB / 354.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.05652, allocations: 4 kB / 354.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.05653, allocations: 3.984 kB / 354.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.05935, allocations: 1.488 MB / 355.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.05935, allocations: 4 kB / 355.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.05988, allocations: 115.8 kB / 355.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/0.06065, allocations: 204.6 kB / 355.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.06069, allocations: 12 kB / 355.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.06416, allocations: 2.538 MB / 358.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.06416, allocations: 0 / 358.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.06666, allocations: 1.257 MB / 359.7 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.06676, allocations: 51.56 kB / 359.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.06682, allocations: 16 kB / 359.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.06718, allocations: 19.98 kB / 359.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.06732, allocations: 64.53 kB / 359.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.06737, allocations: 19.98 kB / 359.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.06756, allocations: 181.3 kB / 360 MB, free: 1.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.06756, allocations: 0 / 360 MB, free: 1.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008373/0.06839, allocations: 239.5 kB / 360.3 MB, free: 1.176 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003178/0.06871, allocations: 151 kB / 360.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.07032, allocations: 0.8087 MB / 361.2 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.07032, allocations: 0 / 361.2 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009116/0.07123, allocations: 0.5105 MB / 361.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.07169, allocations: 64.36 kB / 361.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.07362, allocations: 1.108 MB / 362.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.07391, allocations: 290.8 kB / 363.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.07417, allocations: 76.33 kB / 363.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.07431, allocations: 48.48 kB / 363.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.07431, allocations: 0 / 363.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Templates: time 0.01471/0.08902, allocations: 7.324 MB / 370.6 MB, free: 6.785 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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: 4.549327876418829]