Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001283/0.001283, allocations: 114.1 kB / 18.45 MB, free: 4.605 MB / 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.001388/0.001388, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.459/1.459, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 47.92 kB / 374.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.1965/0.2981, allocations: 5.102 MB / 432.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.3019, allocations: 1.856 MB / 434.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.3023, allocations: 13.25 kB / 434.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.3051, allocations: 1.186 MB / 435.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.3069, allocations: 0.6186 MB / 436.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3084, allocations: 0.6136 MB / 436.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.3097, allocations: 0.7532 MB / 437.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009021/0.3106, allocations: 444.1 kB / 438.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.3111, allocations: 340.1 kB / 438.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.3117, allocations: 426.6 kB / 438.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.3118, allocations: 63.22 kB / 438.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.3126, allocations: 252.8 kB / 439.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.3128, allocations: 177.2 kB / 439.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.3131, allocations: 371.8 kB / 439.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.3149, allocations: 1.033 MB / 440.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3149, allocations: 1.188 kB / 440.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3149, allocations: 0 / 440.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3149, allocations: 0 / 440.7 MB, free: 5.723 MB / 350.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.005953/0.3209, allocations: 1.406 MB / 442.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3209, allocations: 9.062 kB / 442.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.331, allocations: 0.7823 MB / 442.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.3321, allocations: 411.8 kB / 443.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.3322, allocations: 58.94 kB / 443.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.3324, allocations: 83.81 kB / 443.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.3345, allocations: 0.7697 MB / 444.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.3345, allocations: 5.875 kB / 444.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.3346, allocations: 36.97 kB / 444.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.3347, allocations: 17.97 kB / 444.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.337, allocations: 0.9068 MB / 445.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.3427, allocations: 2.768 MB / 447.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.3455, allocations: 2.122 MB / 450.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.3463, allocations: 290.8 kB / 450.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.3466, allocations: 184.7 kB / 450.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3466, allocations: 39.52 kB / 450.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.957e-06/0.3466, allocations: 1.188 kB / 450.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005608/0.3522, allocations: 1.34 MB / 451.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.3523, allocations: 58.69 kB / 452 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.3529, allocations: 294.5 kB / 452.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.214e-05/0.3529, allocations: 40.33 kB / 452.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.3533, allocations: 294.3 kB / 452.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.3536, allocations: 264.8 kB / 452.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.3539, allocations: 127.2 kB / 453 MB, free: 14.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.3541, allocations: 353.5 kB / 453.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007214/0.3549, allocations: 241.5 kB / 453.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.3557, allocations: 364.5 kB / 453.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.3573, allocations: 0.6315 MB / 454.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3573, allocations: 1.375 kB / 454.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002806/0.3602, allocations: 0.8615 MB / 455.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3602, allocations: 7.203 kB / 455.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3602, allocations: 8.094 kB / 455.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.3613, allocations: 208.9 kB / 455.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.3621, allocations: 133.2 kB / 455.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.3666, allocations: 2.708 MB / 458.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.3672, allocations: 80.27 kB / 458.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.3673, allocations: 28.36 kB / 458.6 MB, free: 10.66 MB / 366.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.0003617/0.3676, allocations: 199.4 kB / 458.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.3678, allocations: 50.17 kB / 458.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.3699, allocations: 0.886 MB / 459.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3699, allocations: 11.75 kB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3699, allocations: 6.234 kB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.3699, allocations: 3.141 kB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.373, allocations: 1.694 MB / 461.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.373, allocations: 4 kB / 461.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.3735, allocations: 113.8 kB / 461.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007572/0.3743, allocations: 202.8 kB / 461.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.3743, allocations: 13.84 kB / 461.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.378, allocations: 2.697 MB / 464.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.378, allocations: 1.094 kB / 464.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.3806, allocations: 1.266 MB / 465.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.3808, allocations: 130.4 kB / 465.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.3809, allocations: 15.38 kB / 465.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.3813, allocations: 35.89 kB / 465.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3815, allocations: 56.02 kB / 465.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.3815, allocations: 21.3 kB / 465.9 MB, free: 5.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.3817, allocations: 211.3 kB / 466.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3817, allocations: 0 / 466.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009231/0.3827, allocations: 238.7 kB / 466.4 MB, free: 5.586 MB / 366.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.000319/0.383, allocations: 152.5 kB / 466.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3848, allocations: 0.8029 MB / 467.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3848, allocations: 1.906 kB / 467.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009712/0.3858, allocations: 0.5216 MB / 467.9 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.3863, allocations: 56.44 kB / 467.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3886, allocations: 1.2 MB / 469.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.3893, allocations: 0.89 MB / 470 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.3895, allocations: 61.59 kB / 470.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3895, allocations: 5.531 kB / 470.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01618/0.4057, allocations: 10.25 MB / 480.3 MB, free: 10.68 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.157982464006636]