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.001131/0.001131, allocations: 94.97 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 202.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002027/0.0002027, allocations: 11.98 kB / 306.6 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08798, allocations: 51.48 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003361/0.09138, allocations: 3.243 MB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.0935, allocations: 1.473 MB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.09368, allocations: 12 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.09399, allocations: 135.2 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006886/0.09469, allocations: 327 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009581/0.09566, allocations: 0.545 MB / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.09613, allocations: 359.2 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.09728, allocations: 0.705 MB / 364.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.09753, allocations: 183.3 kB / 365 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.09777, allocations: 227 kB / 365.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.09782, allocations: 24 kB / 365.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.09818, allocations: 187.8 kB / 365.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.09826, allocations: 83.61 kB / 365.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.09835, allocations: 113.5 kB / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.09892, allocations: 0.5924 MB / 366.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.09894, allocations: 0 / 366.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09895, allocations: 4 kB / 366.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.09896, allocations: 0 / 366.2 MB, free: 5.68 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.002107/0.1011, allocations: 0.8932 MB / 367.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1011, allocations: 12.02 kB / 367.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.104, allocations: 410.9 kB / 367.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.1045, allocations: 352.1 kB / 367.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.1045, allocations: 53.2 kB / 367.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.1046, allocations: 56 kB / 368 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1058, allocations: 0.694 MB / 368.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1058, allocations: 4 kB / 368.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.1059, allocations: 20 kB / 368.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.1059, allocations: 29.3 kB / 368.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1072, allocations: 0.6961 MB / 369.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1585/0.2656, allocations: 2.437 MB / 371.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.2672, allocations: 1.201 MB / 373.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.2673, allocations: 176.4 kB / 373.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2674, allocations: 41.41 kB / 373.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.936e-06/0.2674, allocations: 0.6562 kB / 373.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001802/0.2692, allocations: 0.8126 MB / 374.1 MB, free: 17.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2692, allocations: 56.61 kB / 374.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.2695, allocations: 269.5 kB / 374.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.2696, allocations: 33.2 kB / 374.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.2697, allocations: 248 kB / 374.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.2698, allocations: 149.4 kB / 374.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2698, allocations: 9.906 kB / 374.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.2699, allocations: 342.6 kB / 375.2 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.2703, allocations: 191.2 kB / 375.4 MB, free: 16.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.2708, allocations: 298.3 kB / 375.7 MB, free: 16.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.2712, allocations: 215.5 kB / 375.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2712, allocations: 0.8125 kB / 375.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001183/0.2724, allocations: 0.6084 MB / 376.5 MB, free: 16.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.2726, allocations: 1.313 MB / 377.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2726, allocations: 4.125 kB / 377.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.2728, allocations: 59.67 kB / 377.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.2733, allocations: 108.2 kB / 378 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.2744, allocations: 1.596 MB / 379.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2748, allocations: 63.22 kB / 379.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.2748, allocations: 22.95 kB / 379.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.2748, allocations: 2.781 kB / 379.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009585/0.2758, allocations: 0.5437 MB / 380.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2758, allocations: 4.125 kB / 380.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.2759, allocations: 51.81 kB / 380.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.2764, allocations: 110 kB / 380.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009528/0.2773, allocations: 1.524 MB / 381.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.2776, allocations: 55.73 kB / 381.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.2776, allocations: 22.86 kB / 382 MB, free: 11.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.2778, allocations: 254.2 kB / 382.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.2779, allocations: 35.91 kB / 382.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.2791, allocations: 0.5907 MB / 382.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.2791, allocations: 7.828 kB / 382.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2791, allocations: 1.375 kB / 382.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.2791, allocations: 2.156 kB / 382.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.2808, allocations: 1.244 MB / 384.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2809, allocations: 0 / 384.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.2812, allocations: 85.08 kB / 384.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.2814, allocations: 52.84 kB / 384.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.2814, allocations: 18.11 kB / 384.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009683/0.2824, allocations: 1.591 MB / 385.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2824, allocations: 4.312 kB / 385.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.2838, allocations: 0.8949 MB / 386.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.284, allocations: 147.8 kB / 386.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.284, allocations: 10.91 kB / 386.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2843, allocations: 19.64 kB / 386.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.2844, allocations: 40.86 kB / 386.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.2845, allocations: 20.34 kB / 387 MB, free: 8.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.2847, allocations: 191.9 kB / 387.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2847, allocations: 0 / 387.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001001/0.2857, allocations: 245.2 kB / 387.4 MB, free: 7.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.286, allocations: 137.1 kB / 387.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.2878, allocations: 1.027 MB / 388.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2879, allocations: 0 / 388.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.2885, allocations: 387 kB / 388.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2888, allocations: 42.48 kB / 389 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2903, allocations: 1.104 MB / 390.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.2905, allocations: 0.8335 MB / 390.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001536/0.2921, allocations: 1.081 MB / 392 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2922, allocations: 42.3 kB / 392 MB, free: 5.648 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2922, allocations: 0 / 392 MB, free: 5.648 MB / 302.1 MB Notification: Performance of Templates: time 0.009554/0.3018, allocations: 4.956 MB / 397 MB, free: 4.117 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches