Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.001637/0.001637, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00182/0.00182, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 43.94 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.239, allocations: 53.36 MB / 431.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005373/0.2444, allocations: 3.646 MB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.2471, allocations: 1.544 MB / 436.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.2473, allocations: 8 kB / 436.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.2492, allocations: 0.7234 MB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.2501, allocations: 369.4 kB / 437.9 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2515, allocations: 0.6307 MB / 438.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.2521, allocations: 0.5277 MB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.2529, allocations: 471.8 kB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.2532, allocations: 247.1 kB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003549/0.2536, allocations: 298.8 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.2537, allocations: 52 kB / 440.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.2541, allocations: 243.8 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2542, allocations: 123.5 kB / 440.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2544, allocations: 215 kB / 440.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.2554, allocations: 0.8095 MB / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2554, allocations: 0 / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2554, allocations: 0 / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2554, allocations: 0 / 441.4 MB, free: 12.79 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002171/0.2575, allocations: 0.8989 MB / 442.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2576, allocations: 12.03 kB / 442.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.2604, allocations: 388.2 kB / 442.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.261, allocations: 307.5 kB / 443 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.2611, allocations: 45.69 kB / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2612, allocations: 63.94 kB / 443.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2624, allocations: 0.6778 MB / 443.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.2624, allocations: 7.938 kB / 443.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.2624, allocations: 23.94 kB / 443.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2625, allocations: 12 kB / 443.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.2636, allocations: 0.579 MB / 444.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.2666, allocations: 1.749 MB / 446.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.2678, allocations: 476.3 kB / 446.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.2682, allocations: 176.7 kB / 446.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-05/0.2683, allocations: 27.92 kB / 446.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2683, allocations: 34.56 kB / 446.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.2683, allocations: 0 / 446.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00161/0.2699, allocations: 0.5917 MB / 447.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.27, allocations: 67.39 kB / 447.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2702, allocations: 196.1 kB / 447.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.2702, allocations: 29.7 kB / 447.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.2704, allocations: 264.7 kB / 448 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.2705, allocations: 150.7 kB / 448.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2707, allocations: 90.14 kB / 448.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2708, allocations: 334.8 kB / 448.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.2712, allocations: 154.8 kB / 448.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.2716, allocations: 257.2 kB / 449 MB, free: 4.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008138/0.2724, allocations: 441.7 kB / 449.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2724, allocations: 0 / 449.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001099/0.2735, allocations: 0.522 MB / 449.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2735, allocations: 11.98 kB / 449.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2736, allocations: 0 / 449.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.2738, allocations: 56.83 kB / 450 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.2742, allocations: 99.83 kB / 450.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.2759, allocations: 1.629 MB / 451.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.2762, allocations: 51.66 kB / 451.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.2762, allocations: 19.98 kB / 451.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004533/0.2767, allocations: 269.1 kB / 452.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003914/0.277, allocations: 252.9 kB / 452.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007231/0.2778, allocations: 427.6 kB / 452.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/0.2778, allocations: 3.938 kB / 452.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001005/0.2788, allocations: 0.5016 MB / 453.2 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2788, allocations: 4 kB / 453.2 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2788, allocations: 4 kB / 453.2 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.279, allocations: 60.89 kB / 453.3 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.2794, allocations: 107.8 kB / 453.4 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.2809, allocations: 1.611 MB / 455 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.2812, allocations: 51.66 kB / 455.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.2812, allocations: 23.92 kB / 455.1 MB, free: 14.46 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 (53): * Single equations (assignments): 52 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.2814, allocations: 208.2 kB / 455.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.2814, allocations: 27.84 kB / 455.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.2826, allocations: 0.5002 MB / 455.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2826, allocations: 4 kB / 455.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.2826, allocations: 0 / 455.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2826, allocations: 3.984 kB / 455.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.2843, allocations: 0.9276 MB / 456.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2843, allocations: 4 kB / 456.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.2846, allocations: 79.89 kB / 456.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.2848, allocations: 56.95 kB / 456.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.2848, allocations: 11.98 kB / 456.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.2864, allocations: 1.621 MB / 458.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2864, allocations: 0 / 458.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2878, allocations: 0.7386 MB / 459.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2879, allocations: 71.67 kB / 459.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.288, allocations: 4 kB / 459.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2882, allocations: 24.11 kB / 459.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.2883, allocations: 36.31 kB / 459.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.2883, allocations: 12 kB / 459.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.2884, allocations: 143 kB / 459.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2884, allocations: 0 / 459.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008632/0.2893, allocations: 255.2 kB / 459.8 MB, free: 9.57 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002331/0.2895, allocations: 146.7 kB / 459.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.2912, allocations: 0.8451 MB / 460.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2912, allocations: 0 / 460.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.2918, allocations: 325.3 kB / 461.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.2921, allocations: 42.56 kB / 461.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2937, allocations: 0.8573 MB / 462 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2939, allocations: 221.7 kB / 462.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.2941, allocations: 70.92 kB / 462.3 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.2942, allocations: 35.42 kB / 462.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2942, allocations: 0 / 462.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of Templates: time 0.01082/0.3051, allocations: 5.082 MB / 467.4 MB, free: 1.941 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.598779988009483]