Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.001602/0.001602, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001996/0.001996, allocations: 223.2 kB / 23 MB, free: 5.57 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.437/1.437, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2598, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005424/0.2652, allocations: 4.018 MB / 433.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.2681, allocations: 1.655 MB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.2683, allocations: 12 kB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.2704, allocations: 0.7816 MB / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.2716, allocations: 373.6 kB / 436.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.273, allocations: 0.6694 MB / 437.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.2737, allocations: 0.5292 MB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.2744, allocations: 403.8 kB / 438.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.2748, allocations: 243.1 kB / 438.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.2751, allocations: 302.7 kB / 438.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.2752, allocations: 52 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.2757, allocations: 247.8 kB / 439 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2758, allocations: 119.5 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.276, allocations: 266.7 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.277, allocations: 0.811 MB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.277, allocations: 3.984 kB / 440.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.277, allocations: 0 / 440.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.2771, allocations: 0 / 440.2 MB, free: 13.08 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.002182/0.2792, allocations: 0.9665 MB / 441.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2793, allocations: 8.031 kB / 441.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.282, allocations: 400.2 kB / 441.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.2827, allocations: 364.8 kB / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.2827, allocations: 53.61 kB / 442 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.2828, allocations: 63.94 kB / 442.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.284, allocations: 0.6315 MB / 442.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.284, allocations: 0 / 442.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.2841, allocations: 24 kB / 442.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2841, allocations: 16 kB / 442.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.2853, allocations: 0.579 MB / 443.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.2887, allocations: 2.241 MB / 445.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.2902, allocations: 1.138 MB / 446.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.2906, allocations: 172.8 kB / 446.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.2908, allocations: 174.5 kB / 447 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2908, allocations: 42.5 kB / 447.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.2908, allocations: 3.938 kB / 447.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001687/0.2925, allocations: 0.6864 MB / 447.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.2925, allocations: 55.41 kB / 447.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.2928, allocations: 278.5 kB / 448.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2929, allocations: 37.7 kB / 448.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.293, allocations: 244.9 kB / 448.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.2932, allocations: 158.6 kB / 448.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2933, allocations: 86.23 kB / 448.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.2935, allocations: 338.8 kB / 448.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.2939, allocations: 155 kB / 449.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.2943, allocations: 253.9 kB / 449.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.2951, allocations: 437.7 kB / 449.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2951, allocations: 4 kB / 449.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001064/0.2961, allocations: 0.5261 MB / 450.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2962, allocations: 12.03 kB / 450.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2962, allocations: 7.984 kB / 450.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.2964, allocations: 52.81 kB / 450.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.2968, allocations: 95.89 kB / 450.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.2985, allocations: 1.771 MB / 452.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.2988, allocations: 55.67 kB / 452.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.2989, allocations: 23.94 kB / 452.3 MB, free: 208 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000457/0.2993, allocations: 269.2 kB / 452.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003857/0.2997, allocations: 253.6 kB / 452.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007068/0.3004, allocations: 427.7 kB / 453.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.3004, allocations: 0 / 453.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009801/0.3014, allocations: 0.513 MB / 453.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3014, allocations: 11.94 kB / 453.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3014, allocations: 4 kB / 453.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.3016, allocations: 56.83 kB / 453.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.302, allocations: 99.81 kB / 453.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.3036, allocations: 1.767 MB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.3038, allocations: 47.72 kB / 455.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3039, allocations: 20 kB / 455.7 MB, free: 12.52 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.0001824/0.3041, allocations: 208.1 kB / 456 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.3041, allocations: 35.75 kB / 456 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.3053, allocations: 0.5005 MB / 456.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3053, allocations: 11.94 kB / 456.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3053, allocations: 4 kB / 456.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3053, allocations: 3.984 kB / 456.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.307, allocations: 1.069 MB / 457.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.307, allocations: 0 / 457.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.3074, allocations: 83.83 kB / 457.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.3076, allocations: 48.83 kB / 457.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.3076, allocations: 15.98 kB / 457.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.3092, allocations: 1.765 MB / 459.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3092, allocations: 0 / 459.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3106, allocations: 0.7503 MB / 460.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.3108, allocations: 148.7 kB / 460.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3108, allocations: 8 kB / 460.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.3111, allocations: 24.05 kB / 460.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.3111, allocations: 32.39 kB / 460.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3112, allocations: 15.98 kB / 460.5 MB, free: 7.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3114, allocations: 190 kB / 460.6 MB, free: 7.367 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3114, allocations: 7.938 kB / 460.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008768/0.3122, allocations: 239.4 kB / 460.9 MB, free: 7.125 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.0002512/0.3125, allocations: 146 kB / 461 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.3143, allocations: 0.8327 MB / 461.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3143, allocations: 4.188 kB / 461.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.3149, allocations: 321.1 kB / 462.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3153, allocations: 36.61 kB / 462.2 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3169, allocations: 0.872 MB / 463.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3174, allocations: 0.821 MB / 463.9 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.3176, allocations: 75.22 kB / 464 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3178, allocations: 35.44 kB / 464 MB, free: 3.891 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3178, allocations: 0 / 464 MB, free: 3.891 MB / 366.1 MB Notification: Performance of Templates: time 0.01122/0.329, allocations: 5.123 MB / 469.1 MB, free: 14.78 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.576930174604058]