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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 110.1 kB / 17.06 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.00188, allocations: 191 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2814, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005298/0.2867, allocations: 3.954 MB / 404.7 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.2895, allocations: 1.577 MB / 406.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.29, allocations: 8 kB / 406.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.2919, allocations: 0.7695 MB / 407 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.2932, allocations: 0.5363 MB / 407.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.2943, allocations: 0.5313 MB / 408.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008345/0.2952, allocations: 0.537 MB / 408.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008722/0.2961, allocations: 0.4933 MB / 409.1 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.2966, allocations: 243 kB / 409.4 MB, free: 208 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.2972, allocations: 290.8 kB / 409.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.2974, allocations: 52 kB / 409.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.298, allocations: 243.8 kB / 409.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.2982, allocations: 123.5 kB / 410.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.2985, allocations: 274.6 kB / 410.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.2996, allocations: 0.7827 MB / 411.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2996, allocations: 0 / 411.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2996, allocations: 7.938 kB / 411.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.2996, allocations: 0 / 411.1 MB, free: 14.45 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.002331/0.302, allocations: 0.9559 MB / 412.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.302, allocations: 15.89 kB / 412.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.3048, allocations: 399.9 kB / 412.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.3054, allocations: 367 kB / 412.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.3055, allocations: 45.69 kB / 412.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3056, allocations: 59.94 kB / 412.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.3068, allocations: 0.6237 MB / 413.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.3068, allocations: 7.891 kB / 413.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.3069, allocations: 28 kB / 413.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3069, allocations: 12 kB / 413.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.308, allocations: 0.5751 MB / 414.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.3111, allocations: 2.153 MB / 416.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3125, allocations: 1.19 MB / 417.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.3129, allocations: 196.7 kB / 417.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.313, allocations: 89.41 kB / 417.8 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.313, allocations: 38.56 kB / 417.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.313, allocations: 0 / 417.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001579/0.3146, allocations: 0.6902 MB / 418.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3146, allocations: 55.41 kB / 418.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.3149, allocations: 266.6 kB / 418.8 MB, free: 6.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.3149, allocations: 33.7 kB / 418.9 MB, free: 6.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3151, allocations: 252.2 kB / 419.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.3152, allocations: 149.8 kB / 419.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3153, allocations: 94.14 kB / 419.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3154, allocations: 338.8 kB / 419.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.3158, allocations: 155 kB / 419.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3162, allocations: 253.9 kB / 420.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.3169, allocations: 429.8 kB / 420.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3169, allocations: 0 / 420.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001017/0.3179, allocations: 0.5254 MB / 421 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.318, allocations: 7.938 kB / 421 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.318, allocations: 4 kB / 421 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.3182, allocations: 65.17 kB / 421.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.3187, allocations: 99.88 kB / 421.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.3201, allocations: 1.759 MB / 423 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.3204, allocations: 59.38 kB / 423 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.3205, allocations: 19.92 kB / 423 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003968/0.3209, allocations: 269.3 kB / 423.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000355/0.3212, allocations: 249.6 kB / 423.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006458/0.3219, allocations: 423.8 kB / 424 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.072e-06/0.3219, allocations: 7.984 kB / 424 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000902/0.3228, allocations: 0.5126 MB / 424.5 MB, free: 208 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3228, allocations: 7.938 kB / 424.5 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3228, allocations: 4.406 kB / 424.5 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.323, allocations: 56.83 kB / 424.6 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.3234, allocations: 91.89 kB / 424.6 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.3247, allocations: 1.771 MB / 426.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.325, allocations: 39.67 kB / 426.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.3251, allocations: 20 kB / 426.5 MB, free: 14.07 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.0001449/0.3252, allocations: 212.2 kB / 426.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.3253, allocations: 39.55 kB / 426.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3263, allocations: 0.4927 MB / 427.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.3264, allocations: 11.98 kB / 427.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3264, allocations: 7.922 kB / 427.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3264, allocations: 3.984 kB / 427.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.3279, allocations: 1.073 MB / 428.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.328, allocations: 0 / 428.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.3283, allocations: 79.89 kB / 428.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.3285, allocations: 52.81 kB / 428.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3285, allocations: 8 kB / 428.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.3299, allocations: 1.775 MB / 430.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3299, allocations: 0 / 430.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3312, allocations: 0.7501 MB / 431 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3313, allocations: 140.6 kB / 431.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.3314, allocations: 12 kB / 431.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.3316, allocations: 19.98 kB / 431.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.3317, allocations: 32.39 kB / 431.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3317, allocations: 8 kB / 431.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.3319, allocations: 198 kB / 431.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3319, allocations: 4.062 kB / 431.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.3328, allocations: 243.1 kB / 431.6 MB, free: 8.676 MB / 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.0002122/0.333, allocations: 131.2 kB / 431.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.3345, allocations: 0.8802 MB / 432.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3345, allocations: 0 / 432.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.335, allocations: 345.8 kB / 433 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3354, allocations: 47.05 kB / 433 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3367, allocations: 0.8563 MB / 433.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3371, allocations: 0.821 MB / 434.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.3373, allocations: 75.25 kB / 434.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.3374, allocations: 39.42 kB / 434.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3375, allocations: 0 / 434.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of Templates: time 0.008904/0.3464, allocations: 4.877 MB / 439.7 MB, free: 0.543 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (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) 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) Reference file matches