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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.86 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.09861, allocations: 50.52 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005836/0.1045, allocations: 3.962 MB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.1073, allocations: 1.623 MB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.1077, allocations: 12 kB / 364.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.1097, allocations: 0.781 MB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.1107, allocations: 370 kB / 365.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.112, allocations: 0.676 MB / 366.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000756/0.1128, allocations: 0.537 MB / 366.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/0.1136, allocations: 492 kB / 367.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.114, allocations: 239.1 kB / 367.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.1144, allocations: 298.8 kB / 367.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1145, allocations: 56 kB / 367.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.115, allocations: 255.8 kB / 368.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1151, allocations: 123.5 kB / 368.3 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.1154, allocations: 266.7 kB / 368.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009065/0.1163, allocations: 0.8021 MB / 369.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1163, allocations: 0 / 369.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1163, allocations: 0 / 369.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1163, allocations: 0 / 369.3 MB, free: 2.828 MB / 302.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.002012/0.1183, allocations: 0.9559 MB / 370.3 MB, free: 1.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1184, allocations: 8.031 kB / 370.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.1212, allocations: 407.9 kB / 370.7 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.1218, allocations: 365.3 kB / 371.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.1219, allocations: 41.69 kB / 371.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.122, allocations: 71.81 kB / 371.2 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1231, allocations: 0.6276 MB / 371.8 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.1231, allocations: 0 / 371.8 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.1232, allocations: 28 kB / 371.8 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1232, allocations: 12 kB / 371.8 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1489/0.2721, allocations: 0.5677 MB / 372.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.2752, allocations: 2.236 MB / 374.6 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.2765, allocations: 1.178 MB / 375.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.2769, allocations: 194.7 kB / 376 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.277, allocations: 174.1 kB / 376.2 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.277, allocations: 40.33 kB / 376.2 MB, free: 17.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.035e-06/0.277, allocations: 0 / 376.2 MB, free: 17.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001634/0.2787, allocations: 0.6865 MB / 376.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.2787, allocations: 59.84 kB / 377 MB, free: 17.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.279, allocations: 273.9 kB / 377.2 MB, free: 16.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.279, allocations: 31.08 kB / 377.3 MB, free: 16.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2791, allocations: 248.9 kB / 377.5 MB, free: 16.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.2792, allocations: 148.4 kB / 377.6 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2793, allocations: 84.52 kB / 377.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.2794, allocations: 340.9 kB / 378.1 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.2797, allocations: 155.1 kB / 378.2 MB, free: 16.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.2801, allocations: 260.3 kB / 378.5 MB, free: 16.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.2807, allocations: 434 kB / 378.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2807, allocations: 1.125 kB / 378.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009678/0.2817, allocations: 0.5199 MB / 379.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2818, allocations: 6.797 kB / 379.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2818, allocations: 5.938 kB / 379.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.282, allocations: 55.5 kB / 379.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.2824, allocations: 102.1 kB / 379.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.2836, allocations: 1.767 MB / 381.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.284, allocations: 60.77 kB / 381.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.284, allocations: 20.89 kB / 381.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003749/0.2844, allocations: 268.4 kB / 381.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003193/0.2847, allocations: 249.6 kB / 381.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005843/0.2853, allocations: 419.1 kB / 382.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.2853, allocations: 5.094 kB / 382.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008935/0.2862, allocations: 0.5123 MB / 382.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2862, allocations: 7.438 kB / 382.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2863, allocations: 2.438 kB / 382.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.2864, allocations: 52.92 kB / 382.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.2868, allocations: 104.3 kB / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2879, allocations: 1.76 MB / 384.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2882, allocations: 42.89 kB / 384.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2882, allocations: 19.2 kB / 384.8 MB, free: 11.22 MB / 302.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.0001081/0.2883, allocations: 212.3 kB / 385 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.2884, allocations: 36.12 kB / 385.1 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.2894, allocations: 0.5004 MB / 385.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2894, allocations: 9.328 kB / 385.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2894, allocations: 0 / 385.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2894, allocations: 4.094 kB / 385.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.291, allocations: 1.08 MB / 386.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.291, allocations: 7.938 kB / 386.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.2914, allocations: 74.55 kB / 386.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.2916, allocations: 51.62 kB / 386.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.2916, allocations: 13.5 kB / 386.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.2926, allocations: 1.757 MB / 388.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2926, allocations: 1.094 kB / 388.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.2939, allocations: 0.7434 MB / 389.3 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.294, allocations: 147 kB / 389.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.2941, allocations: 6.875 kB / 389.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.2943, allocations: 25.52 kB / 389.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.2944, allocations: 34.55 kB / 389.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.2945, allocations: 18.55 kB / 389.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.2947, allocations: 192.8 kB / 389.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2947, allocations: 3.938 kB / 389.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009086/0.2956, allocations: 243.3 kB / 390 MB, free: 7.688 MB / 302.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.0002073/0.2958, allocations: 140.9 kB / 390.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.2973, allocations: 0.8836 MB / 391 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2973, allocations: 0 / 391 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004822/0.2978, allocations: 334.1 kB / 391.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2982, allocations: 47.34 kB / 391.4 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2996, allocations: 0.8476 MB / 392.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2998, allocations: 0.8261 MB / 393 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.3001, allocations: 73.31 kB / 393.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3002, allocations: 34.45 kB / 393.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3003, allocations: 0 / 393.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of Templates: time 0.008981/0.3092, allocations: 4.803 MB / 398 MB, free: 4.246 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches