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.0021/0.0021, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001909/0.001909, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001552/0.001552, allocations: 55.91 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2392, allocations: 53.36 MB / 431.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006439/0.2456, allocations: 4.543 MB / 436.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.2487, allocations: 1.729 MB / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.2489, allocations: 16 kB / 437.9 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.2516, allocations: 1.088 MB / 439 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.2531, allocations: 0.6207 MB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.2544, allocations: 0.5765 MB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009387/0.2553, allocations: 0.7582 MB / 440.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008582/0.2562, allocations: 0.5159 MB / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.2566, allocations: 338.7 kB / 441.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.2571, allocations: 386.3 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.2572, allocations: 64 kB / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.2577, allocations: 239.8 kB / 442.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2578, allocations: 163.3 kB / 442.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.2581, allocations: 314.5 kB / 442.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.2593, allocations: 1.034 MB / 443.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2594, allocations: 0 / 443.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2594, allocations: 3.938 kB / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.2594, allocations: 0 / 443.9 MB, free: 10.27 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.003939/0.2633, allocations: 1.324 MB / 445.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.2634, allocations: 8.031 kB / 445.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006482/0.2698, allocations: 0.7887 MB / 446.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.2706, allocations: 350.7 kB / 446.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.2706, allocations: 62.36 kB / 446.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.2708, allocations: 80.12 kB / 446.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.2723, allocations: 0.8268 MB / 447.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.2724, allocations: 3.953 kB / 447.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.2725, allocations: 32 kB / 447.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.2725, allocations: 16 kB / 447.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.2741, allocations: 0.8979 MB / 448.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.2782, allocations: 2.198 MB / 450.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.2801, allocations: 0.7749 MB / 451.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.2807, allocations: 291.2 kB / 451.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.705e-05/0.2808, allocations: 28.62 kB / 451.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.2808, allocations: 39.22 kB / 451.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 4.478e-06/0.2808, allocations: 4 kB / 451.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003654/0.2844, allocations: 1.255 MB / 452.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.2845, allocations: 60.06 kB / 453 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.2848, allocations: 253 kB / 453.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.2848, allocations: 33.7 kB / 453.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.285, allocations: 304.6 kB / 453.5 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.2852, allocations: 265.7 kB / 453.8 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.2854, allocations: 130.6 kB / 453.9 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.2856, allocations: 350.7 kB / 454.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.2861, allocations: 233.9 kB / 454.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/0.2867, allocations: 362.5 kB / 454.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.2878, allocations: 0.6298 MB / 455.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2878, allocations: 3.938 kB / 455.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001821/0.2896, allocations: 0.8531 MB / 456.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.2896, allocations: 8 kB / 456.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2897, allocations: 7.984 kB / 456.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000829/0.2905, allocations: 212.6 kB / 456.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.291, allocations: 135.8 kB / 456.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.2946, allocations: 2.541 MB / 459.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.295, allocations: 71.55 kB / 459.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.2951, allocations: 27.98 kB / 459.3 MB, free: 10.45 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.0002894/0.2954, allocations: 201.7 kB / 459.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.2954, allocations: 43.7 kB / 459.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.2974, allocations: 0.8819 MB / 460.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.2975, allocations: 8 kB / 460.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2975, allocations: 4 kB / 460.5 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2975, allocations: 7.922 kB / 460.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.3002, allocations: 1.477 MB / 462 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3003, allocations: 4 kB / 462 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.3007, allocations: 111.8 kB / 462.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007196/0.3015, allocations: 200.7 kB / 462.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.3015, allocations: 19.98 kB / 462.3 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.305, allocations: 2.542 MB / 464.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.305, allocations: 0 / 464.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.3074, allocations: 1.257 MB / 466.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.3075, allocations: 55.55 kB / 466.1 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.3076, allocations: 19.98 kB / 466.2 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3079, allocations: 27.92 kB / 466.2 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.308, allocations: 56.55 kB / 466.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.3081, allocations: 28.05 kB / 466.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.3083, allocations: 176.5 kB / 466.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3083, allocations: 0 / 466.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007842/0.3091, allocations: 243.5 kB / 466.7 MB, free: 2.926 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.0003146/0.3094, allocations: 148.9 kB / 466.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.311, allocations: 0.8085 MB / 467.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.311, allocations: 0 / 467.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.3119, allocations: 0.5183 MB / 468.1 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3124, allocations: 52.42 kB / 468.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3144, allocations: 1.165 MB / 469.4 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3147, allocations: 290.8 kB / 469.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.315, allocations: 72.33 kB / 469.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3151, allocations: 51.36 kB / 469.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3151, allocations: 0 / 469.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of Templates: time 0.01587/0.331, allocations: 8.059 MB / 477.8 MB, free: 7.77 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/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_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: 4.831772482022643]