Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001476/0.001476, allocations: 117 kB / 21.18 MB, free: 0.6289 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.0016/0.0016, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.257, allocations: 53.32 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005286/0.2623, allocations: 3.749 MB / 435.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.2655, allocations: 1.514 MB / 437.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.2657, allocations: 8 kB / 437.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.2676, allocations: 0.7507 MB / 438.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.2686, allocations: 401.1 kB / 438.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2697, allocations: 0.5488 MB / 439 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.2703, allocations: 454.1 kB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.2708, allocations: 307.4 kB / 439.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.2712, allocations: 211.2 kB / 440 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.2715, allocations: 266.9 kB / 440.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.2716, allocations: 44 kB / 440.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.272, allocations: 207.9 kB / 440.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.2721, allocations: 103.6 kB / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.2723, allocations: 230.8 kB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009267/0.2733, allocations: 0.6927 MB / 441.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.2733, allocations: 8 kB / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2733, allocations: 0 / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2733, allocations: 0 / 441.5 MB, free: 13.89 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002219/0.2755, allocations: 0.916 MB / 442.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2755, allocations: 12.03 kB / 442.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.2791, allocations: 472.1 kB / 442.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.2796, allocations: 302.9 kB / 443.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.2796, allocations: 45.66 kB / 443.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.2797, allocations: 56.38 kB / 443.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.2807, allocations: 0.522 MB / 443.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2807, allocations: 0 / 443.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.2808, allocations: 20 kB / 443.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.2808, allocations: 12 kB / 443.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.2818, allocations: 0.5673 MB / 444.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.2848, allocations: 1.953 MB / 446.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.2872, allocations: 2.144 MB / 448.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.2875, allocations: 182.1 kB / 448.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.2877, allocations: 174.6 kB / 448.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2877, allocations: 43 kB / 448.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.2877, allocations: 3.938 kB / 448.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002043/0.2898, allocations: 0.7934 MB / 449.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2898, allocations: 55.84 kB / 449.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.29, allocations: 182.8 kB / 449.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.29, allocations: 37.7 kB / 449.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.2902, allocations: 225 kB / 450.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2903, allocations: 166.5 kB / 450.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.2905, allocations: 86.25 kB / 450.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2906, allocations: 338.8 kB / 450.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.2909, allocations: 157 kB / 450.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.2913, allocations: 228.8 kB / 451.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.292, allocations: 403.4 kB / 451.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.292, allocations: 0 / 451.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001119/0.2931, allocations: 0.5394 MB / 452.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2931, allocations: 8.203 kB / 452.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2931, allocations: 8 kB / 452.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.2935, allocations: 80.81 kB / 452.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.2939, allocations: 99.81 kB / 452.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.2961, allocations: 2.041 MB / 454.3 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.2964, allocations: 47.66 kB / 454.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.2965, allocations: 20 kB / 454.4 MB, free: 88 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002522/0.2967, allocations: 169.7 kB / 454.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.2968, allocations: 31.81 kB / 454.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.2979, allocations: 0.5357 MB / 455.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2979, allocations: 8 kB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2979, allocations: 0 / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2979, allocations: 3.984 kB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.2997, allocations: 1.127 MB / 456.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2997, allocations: 3.938 kB / 456.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.3001, allocations: 79.89 kB / 456.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002908/0.3003, allocations: 88.73 kB / 456.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.3004, allocations: 12 kB / 456.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.3025, allocations: 2.039 MB / 458.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3025, allocations: 4 kB / 458.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.3039, allocations: 0.7932 MB / 459.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.304, allocations: 112.8 kB / 459.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.304, allocations: 8 kB / 459.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3043, allocations: 15.98 kB / 459.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.3043, allocations: 44.44 kB / 459.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.3044, allocations: 12 kB / 459.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3045, allocations: 131.2 kB / 459.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3045, allocations: 0 / 459.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006095/0.3051, allocations: 155.6 kB / 459.7 MB, free: 10.47 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 (42): * Single equations (assignments): 41 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/0.3054, allocations: 139.2 kB / 459.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3065, allocations: 0.5424 MB / 460.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3065, allocations: 0 / 460.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.3071, allocations: 357 kB / 460.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3074, allocations: 32.42 kB / 460.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3089, allocations: 0.851 MB / 461.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3093, allocations: 0.8006 MB / 462.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3094, allocations: 39.42 kB / 462.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3094, allocations: 0 / 462.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of Templates: time 0.00945/0.3189, allocations: 6.521 MB / 469 MB, free: 1.109 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.132516179233789]