Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00157/0.00157, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001727/0.001727, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.46/1.46, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.84 kB / 379 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.231, allocations: 53.41 MB / 432.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005116/0.2361, allocations: 3.395 MB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2389, allocations: 1.394 MB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.2391, allocations: 8 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.2409, allocations: 0.7 MB / 437.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.2419, allocations: 386.1 kB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.243, allocations: 0.5201 MB / 438.8 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.2435, allocations: 462 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.2441, allocations: 346.1 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.2444, allocations: 215.2 kB / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.2448, allocations: 235 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-05/0.2448, allocations: 40 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.2453, allocations: 207.8 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.785e-05/0.2454, allocations: 107.6 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2456, allocations: 195 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000863/0.2465, allocations: 0.6879 MB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2465, allocations: 0 / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2465, allocations: 0 / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2465, allocations: 0 / 441.2 MB, free: 13.7 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.002164/0.2486, allocations: 0.8407 MB / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.2487, allocations: 11.98 kB / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.2522, allocations: 484.1 kB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.2527, allocations: 245.8 kB / 442.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.2527, allocations: 41.69 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.2528, allocations: 52.38 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.2539, allocations: 0.5393 MB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2539, allocations: 4 kB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.2539, allocations: 24 kB / 443.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.2539, allocations: 12 kB / 443.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.255, allocations: 0.5673 MB / 444 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.2577, allocations: 1.507 MB / 445.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.2593, allocations: 0.5701 MB / 446.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.2596, allocations: 184.9 kB / 446.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.2597, allocations: 20.42 kB / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2597, allocations: 35 kB / 446.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.886e-06/0.2597, allocations: 0 / 446.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001981/0.2617, allocations: 0.7181 MB / 447.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2618, allocations: 55.84 kB / 447.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.2619, allocations: 178.7 kB / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.262, allocations: 29.7 kB / 447.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.2621, allocations: 229 kB / 447.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2623, allocations: 166.5 kB / 447.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.2624, allocations: 90.12 kB / 447.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2626, allocations: 338.8 kB / 448.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.2629, allocations: 148.9 kB / 448.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.2632, allocations: 228.1 kB / 448.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.2639, allocations: 399.5 kB / 448.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2639, allocations: 0 / 448.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001068/0.265, allocations: 0.5397 MB / 449.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.265, allocations: 4 kB / 449.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.265, allocations: 4 kB / 449.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/0.2654, allocations: 92.73 kB / 449.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.2658, allocations: 91.89 kB / 449.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.2679, allocations: 1.892 MB / 451.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2682, allocations: 47.78 kB / 451.6 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.2682, allocations: 23.94 kB / 451.6 MB, free: 2.977 MB / 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.0002292/0.2685, allocations: 173.6 kB / 451.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2685, allocations: 27.81 kB / 451.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2697, allocations: 0.531 MB / 452.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2697, allocations: 8 kB / 452.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2697, allocations: 0 / 452.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.2697, allocations: 7.984 kB / 452.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2714, allocations: 0.9707 MB / 453.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2714, allocations: 0 / 453.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.2717, allocations: 75.89 kB / 453.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.272, allocations: 88.81 kB / 453.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.272, allocations: 7.984 kB / 453.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.2741, allocations: 1.895 MB / 455.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.2741, allocations: 8.062 kB / 455.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.2755, allocations: 0.7857 MB / 456.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.2756, allocations: 39.83 kB / 456.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.2756, allocations: 12 kB / 456.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.2758, allocations: 15.94 kB / 456.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.2759, allocations: 40.3 kB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.276, allocations: 16 kB / 456.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.2761, allocations: 123.2 kB / 456.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2761, allocations: 0 / 456.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006499/0.2767, allocations: 151.7 kB / 456.5 MB, free: 13.83 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.0002671/0.277, allocations: 139.1 kB / 456.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.2781, allocations: 0.5502 MB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2781, allocations: 0 / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.2787, allocations: 357.4 kB / 457.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.279, allocations: 31.92 kB / 457.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.2806, allocations: 0.8428 MB / 458.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2808, allocations: 204.8 kB / 458.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.2809, allocations: 39.42 kB / 458.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2809, allocations: 0 / 458.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.009875/0.2908, allocations: 6.61 MB / 465.3 MB, free: 4.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.470959817059338]