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.001446/0.001446, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001741/0.001741, allocations: 211.4 kB / 24.48 MB, free: 3.941 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 2.364/2.364, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 177] 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.002424/0.002424, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3356, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.01014/0.3457, allocations: 4.547 MB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005161/0.3509, allocations: 1.725 MB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.3513, allocations: 16 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.3549, allocations: 1.096 MB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.3569, allocations: 0.6062 MB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.3587, allocations: 0.5843 MB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.3597, allocations: 0.7505 MB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.3605, allocations: 0.5389 MB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005361/0.361, allocations: 338.7 kB / 442.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007798/0.3618, allocations: 426.3 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.362, allocations: 64 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008739/0.3628, allocations: 251.8 kB / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.3631, allocations: 163.4 kB / 443.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.3635, allocations: 306.5 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.3656, allocations: 1.041 MB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.3656, allocations: 3.984 kB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3656, allocations: 0 / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3656, allocations: 0 / 444.8 MB, free: 10.25 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.006834/0.3725, allocations: 1.324 MB / 446.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3725, allocations: 8.031 kB / 446.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.3837, allocations: 0.7809 MB / 446.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.385, allocations: 354.6 kB / 447.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.3851, allocations: 58.38 kB / 447.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.3853, allocations: 84.11 kB / 447.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.3879, allocations: 0.8267 MB / 448.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.3879, allocations: 3.953 kB / 448.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.3881, allocations: 32 kB / 448.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.3881, allocations: 20 kB / 448.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.391, allocations: 0.9018 MB / 449.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006733/0.3977, allocations: 2.198 MB / 451.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.4009, allocations: 0.7671 MB / 452.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.4018, allocations: 291.2 kB / 452.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.402, allocations: 28.62 kB / 452.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.402, allocations: 39.22 kB / 452.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.958e-06/0.402, allocations: 0 / 452.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006305/0.4083, allocations: 1.259 MB / 453.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.4084, allocations: 60.06 kB / 453.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.4089, allocations: 253 kB / 454 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/0.4089, allocations: 41.64 kB / 454.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.4092, allocations: 300.6 kB / 454.4 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.4096, allocations: 265.7 kB / 454.6 MB, free: 176 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.4099, allocations: 126.6 kB / 454.7 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.4102, allocations: 350.8 kB / 455.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.4109, allocations: 237.9 kB / 455.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/0.4119, allocations: 358.5 kB / 455.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.4137, allocations: 0.6337 MB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4137, allocations: 0 / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0028/0.4165, allocations: 0.853 MB / 457.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4165, allocations: 12.06 kB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4165, allocations: 0 / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.4178, allocations: 216.5 kB / 457.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4189, allocations: 139.7 kB / 457.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.4245, allocations: 2.545 MB / 460.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.4252, allocations: 67.55 kB / 460.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.4253, allocations: 27.98 kB / 460.2 MB, free: 10.43 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.0005059/0.4258, allocations: 205.7 kB / 460.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.426, allocations: 39.77 kB / 460.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.4293, allocations: 0.8858 MB / 461.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.4294, allocations: 8 kB / 461.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4294, allocations: 4 kB / 461.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.4294, allocations: 7.922 kB / 461.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/0.4341, allocations: 1.473 MB / 462.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4341, allocations: 0 / 462.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/0.435, allocations: 111.8 kB / 462.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.4363, allocations: 200.7 kB / 463.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.4364, allocations: 19.98 kB / 463.1 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/0.4419, allocations: 2.543 MB / 465.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4419, allocations: 0 / 465.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.4461, allocations: 1.254 MB / 466.9 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.4463, allocations: 51.56 kB / 466.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4464, allocations: 19.98 kB / 467 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006254/0.447, allocations: 27.92 kB / 467 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.4472, allocations: 60.55 kB / 467.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.4473, allocations: 27.98 kB / 467.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.4476, allocations: 172.5 kB / 467.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4476, allocations: 64 / 467.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001359/0.4489, allocations: 247.5 kB / 467.5 MB, free: 2.91 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.000364/0.4493, allocations: 149.8 kB / 467.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00262/0.4519, allocations: 0.8048 MB / 468.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4519, allocations: 0 / 468.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.4534, allocations: 0.5137 MB / 469 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.4542, allocations: 63.3 kB / 469 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.4573, allocations: 1.165 MB / 470.2 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.4578, allocations: 290.9 kB / 470.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005059/0.4583, allocations: 72.38 kB / 470.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.4585, allocations: 51.36 kB / 470.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4585, allocations: 3.938 kB / 470.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02721/0.4857, allocations: 8.276 MB / 478.9 MB, free: 7.531 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 -s cvode -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: 7.242769423988648]