Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2346, allocations: 52.15 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005447/0.24, allocations: 3.994 MB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.2426, allocations: 1.592 MB / 426.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.2428, allocations: 15.94 kB / 426.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.2446, allocations: 0.7661 MB / 427.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2456, allocations: 0.5391 MB / 427.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.2466, allocations: 0.5403 MB / 428.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.2472, allocations: 0.5331 MB / 428.8 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006389/0.2479, allocations: 403.8 kB / 429.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.2482, allocations: 239.1 kB / 429.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.2485, allocations: 294.8 kB / 429.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.2486, allocations: 55.94 kB / 429.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.249, allocations: 243.8 kB / 430.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.2491, allocations: 119.5 kB / 430.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.2493, allocations: 266.7 kB / 430.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.2502, allocations: 0.7915 MB / 431.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2502, allocations: 7.922 kB / 431.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2502, allocations: 4 kB / 431.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.2502, allocations: 0 / 431.2 MB, free: 4.688 MB / 334.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.002095/0.2523, allocations: 0.9704 MB / 432.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2523, allocations: 12.03 kB / 432.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.2551, allocations: 400.2 kB / 432.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.2557, allocations: 361.4 kB / 433 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.2557, allocations: 49.69 kB / 433 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2558, allocations: 63.94 kB / 433.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2569, allocations: 0.6276 MB / 433.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.257, allocations: 0 / 433.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.257, allocations: 24 kB / 433.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.257, allocations: 12 kB / 433.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2582, allocations: 0.5751 MB / 434.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.2614, allocations: 2.17 MB / 436.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.2629, allocations: 1.149 MB / 437.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.2633, allocations: 168.8 kB / 437.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.2634, allocations: 89.11 kB / 437.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2634, allocations: 34.56 kB / 437.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.933e-06/0.2634, allocations: 0 / 437.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001665/0.2651, allocations: 0.6867 MB / 438.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2651, allocations: 55.41 kB / 438.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.2654, allocations: 278.5 kB / 438.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2654, allocations: 29.7 kB / 439 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.2656, allocations: 249 kB / 439.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2657, allocations: 158.6 kB / 439.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2659, allocations: 94.19 kB / 439.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.266, allocations: 342.8 kB / 439.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.2664, allocations: 155 kB / 439.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.2668, allocations: 253.9 kB / 440.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.2675, allocations: 429.8 kB / 440.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2675, allocations: 0 / 440.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00104/0.2686, allocations: 0.5217 MB / 441.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2686, allocations: 8 kB / 441.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2686, allocations: 4 kB / 441.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.2689, allocations: 68.98 kB / 441.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.2693, allocations: 95.88 kB / 441.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.271, allocations: 1.779 MB / 443.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.2713, allocations: 51.62 kB / 443.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.2713, allocations: 27.92 kB / 443.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000423/0.2718, allocations: 269.2 kB / 443.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003722/0.2721, allocations: 245.6 kB / 443.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007139/0.2728, allocations: 427.8 kB / 444.1 MB, free: 7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2728, allocations: 0 / 444.1 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009496/0.2738, allocations: 0.5128 MB / 444.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2738, allocations: 11.94 kB / 444.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2738, allocations: 4 kB / 444.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.274, allocations: 57.17 kB / 444.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.2744, allocations: 99.88 kB / 444.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.2759, allocations: 1.763 MB / 446.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.2762, allocations: 39.77 kB / 446.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2762, allocations: 16 kB / 446.6 MB, free: 4.348 MB / 350.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.0001786/0.2764, allocations: 208.3 kB / 446.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.2764, allocations: 39.73 kB / 446.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.2776, allocations: 0.5044 MB / 447.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2776, allocations: 4 kB / 447.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2776, allocations: 0 / 447.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2776, allocations: 3.984 kB / 447.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.2793, allocations: 1.084 MB / 448.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2793, allocations: 3.984 kB / 448.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.2797, allocations: 79.89 kB / 448.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.2799, allocations: 48.83 kB / 448.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.2799, allocations: 8 kB / 448.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.2816, allocations: 1.759 MB / 450.3 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.2816, allocations: 3.938 kB / 450.3 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.283, allocations: 0.7426 MB / 451.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.2831, allocations: 160.7 kB / 451.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.2832, allocations: 15.94 kB / 451.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.2834, allocations: 15.98 kB / 451.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.2835, allocations: 32.39 kB / 451.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.2836, allocations: 15.98 kB / 451.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.2838, allocations: 190 kB / 451.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2838, allocations: 0 / 451.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008727/0.2846, allocations: 243.5 kB / 451.7 MB, free: 14.95 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.0002602/0.2849, allocations: 139.1 kB / 451.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.2865, allocations: 0.8373 MB / 452.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2865, allocations: 0 / 452.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005511/0.2871, allocations: 329 kB / 453 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.2875, allocations: 45.11 kB / 453 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2891, allocations: 0.8708 MB / 453.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.2895, allocations: 0.821 MB / 454.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.2898, allocations: 75.25 kB / 454.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2899, allocations: 35.42 kB / 454.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 1.041e-06/0.2899, allocations: 0 / 454.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01114/0.3011, allocations: 5.068 MB / 459.9 MB, free: 6.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.424899605102837]