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.001302/0.001302, allocations: 104.6 kB / 21.18 MB, free: 0.7617 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.001369/0.001369, allocations: 193.2 kB / 24.48 MB, free: 4.164 MB / 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.447/1.447, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001764/0.001764, allocations: 56.02 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2662, allocations: 52.17 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005774/0.272, allocations: 4.002 MB / 427.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.275, allocations: 1.6 MB / 429.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.2752, allocations: 12 kB / 429.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2771, allocations: 0.7777 MB / 430.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.2783, allocations: 0.5311 MB / 430.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2794, allocations: 0.5522 MB / 431.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.2801, allocations: 0.5292 MB / 431.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007097/0.2808, allocations: 465.4 kB / 432.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.2812, allocations: 243.1 kB / 432.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.2815, allocations: 298.8 kB / 432.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.2816, allocations: 52 kB / 432.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.2821, allocations: 243.8 kB / 433.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2822, allocations: 127.5 kB / 433.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.2824, allocations: 266.7 kB / 433.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.2834, allocations: 0.7978 MB / 434.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2834, allocations: 3.984 kB / 434.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2834, allocations: 0 / 434.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2834, allocations: 0 / 434.3 MB, free: 4.207 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.002117/0.2855, allocations: 0.8912 MB / 435.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2855, allocations: 8.031 kB / 435.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.2884, allocations: 404.2 kB / 435.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.2892, allocations: 303.5 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.2892, allocations: 41.69 kB / 436 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2893, allocations: 63.94 kB / 436 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.2905, allocations: 0.6315 MB / 436.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.2905, allocations: 3.938 kB / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.2906, allocations: 28 kB / 436.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.2906, allocations: 16 kB / 436.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.2917, allocations: 0.5712 MB / 437.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.2951, allocations: 1.998 MB / 439.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.2964, allocations: 477.7 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.2967, allocations: 172.7 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.2968, allocations: 16.28 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2969, allocations: 38.56 kB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.305e-06/0.2969, allocations: 4 kB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001714/0.2986, allocations: 0.6033 MB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.2986, allocations: 55.41 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.2989, allocations: 273.8 kB / 440.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.299, allocations: 37.7 kB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.2992, allocations: 252.9 kB / 441.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.2993, allocations: 154.7 kB / 441.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.2995, allocations: 90.08 kB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2996, allocations: 338.8 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.3, allocations: 154.8 kB / 441.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.3004, allocations: 261.2 kB / 442.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.3012, allocations: 429.8 kB / 442.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3012, allocations: 4 kB / 442.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001108/0.3023, allocations: 0.5178 MB / 443.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3024, allocations: 4 kB / 443.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3024, allocations: 4.406 kB / 443.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.3026, allocations: 60.83 kB / 443.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.3031, allocations: 103.8 kB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.3048, allocations: 1.652 MB / 444.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.3052, allocations: 59.61 kB / 445 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.3052, allocations: 31.98 kB / 445 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004632/0.3057, allocations: 265.1 kB / 445.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003931/0.3061, allocations: 252.9 kB / 445.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007283/0.3068, allocations: 427.6 kB / 445.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.3068, allocations: 4 kB / 445.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001003/0.3078, allocations: 0.5016 MB / 446.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3078, allocations: 15.28 kB / 446.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3078, allocations: 4 kB / 446.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.308, allocations: 56.83 kB / 446.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.3084, allocations: 95.83 kB / 446.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.31, allocations: 1.665 MB / 448.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.3103, allocations: 47.78 kB / 448.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3104, allocations: 20 kB / 448.3 MB, free: 5.52 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.0001946/0.3106, allocations: 208.1 kB / 448.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.3106, allocations: 39.75 kB / 448.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.3118, allocations: 0.4966 MB / 449.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3118, allocations: 7.984 kB / 449.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3118, allocations: 4 kB / 449.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3118, allocations: 0 / 449.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.3136, allocations: 1.056 MB / 450.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3136, allocations: 0 / 450.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.314, allocations: 79.89 kB / 450.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.3142, allocations: 52.83 kB / 450.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.3142, allocations: 12 kB / 450.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.3159, allocations: 1.661 MB / 451.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3159, allocations: 0 / 451.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3173, allocations: 0.7425 MB / 452.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.3174, allocations: 75.62 kB / 452.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.3175, allocations: 12 kB / 452.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.3178, allocations: 19.92 kB / 452.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.3179, allocations: 32.38 kB / 452.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.3179, allocations: 16.05 kB / 452.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.3181, allocations: 193.2 kB / 453 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3181, allocations: 4 kB / 453 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008938/0.319, allocations: 239.3 kB / 453.3 MB, free: 388 kB / 350.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.0002267/0.3192, allocations: 131.2 kB / 453.4 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.3209, allocations: 0.8434 MB / 454.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3209, allocations: 5.312 kB / 454.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005532/0.3215, allocations: 325 kB / 454.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3219, allocations: 44.47 kB / 454.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3235, allocations: 0.9013 MB / 455.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.3239, allocations: 0.8211 MB / 456.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3241, allocations: 43.42 kB / 456.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3241, allocations: 0 / 456.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Templates: time 0.01072/0.3348, allocations: 7.309 MB / 463.7 MB, free: 5.855 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/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: 7.7103075159247965]