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.0007794/0.0007794, allocations: 97.09 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008758/0.0008759, allocations: 209.9 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002345, allocations: 8 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09264, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.006077/0.09877, allocations: 3.548 MB / 363.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.1025, allocations: 1.597 MB / 365.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/0.103, allocations: 12 kB / 365.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.1037, allocations: 175.2 kB / 365.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.1052, allocations: 334.6 kB / 365.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.1071, allocations: 0.646 MB / 366.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1082, allocations: 0.4941 MB / 366.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.1106, allocations: 0.8031 MB / 367.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.1111, allocations: 191.1 kB / 367.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.1116, allocations: 250.8 kB / 367.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.1117, allocations: 24 kB / 368 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.1124, allocations: 215.8 kB / 368.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1125, allocations: 91.55 kB / 368.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.1129, allocations: 252.4 kB / 368.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1139, allocations: 0.6001 MB / 369.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.114, allocations: 0 / 369.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.114, allocations: 0 / 369.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.114, allocations: 0 / 369.1 MB, free: 4.004 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.003772/0.1178, allocations: 0.8934 MB / 370 MB, free: 3.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1179, allocations: 8.031 kB / 370 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005212/0.1231, allocations: 415.9 kB / 370.4 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.124, allocations: 349.4 kB / 370.8 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.1241, allocations: 49.69 kB / 370.8 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.1243, allocations: 63.92 kB / 370.9 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.1264, allocations: 0.7057 MB / 371.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.1264, allocations: 3.984 kB / 371.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/0.1265, allocations: 24 kB / 371.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.1266, allocations: 21.31 kB / 371.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.1287, allocations: 0.7117 MB / 372.3 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1626/0.2913, allocations: 2.433 MB / 374.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.293, allocations: 1.194 MB / 376 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.2935, allocations: 240.5 kB / 376.2 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.2937, allocations: 172.6 kB / 376.4 MB, free: 16.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2937, allocations: 41.06 kB / 376.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.485e-06/0.2937, allocations: 0 / 376.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001954/0.2957, allocations: 0.8173 MB / 377.2 MB, free: 16.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2957, allocations: 56.16 kB / 377.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.296, allocations: 274.6 kB / 377.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.296, allocations: 31.92 kB / 377.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2962, allocations: 248.1 kB / 377.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2963, allocations: 147.2 kB / 378 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.2964, allocations: 48.17 kB / 378 MB, free: 16.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.2964, allocations: 342.8 kB / 378.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.2968, allocations: 190 kB / 378.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.2973, allocations: 312.4 kB / 378.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007761/0.298, allocations: 0.5025 MB / 379.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2981, allocations: 5.203 kB / 379.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00119/0.2993, allocations: 0.6179 MB / 380 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/0.2993, allocations: 186.4 kB / 380.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2994, allocations: 3.406 kB / 380.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.2996, allocations: 60.39 kB / 380.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.3, allocations: 107.8 kB / 380.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3012, allocations: 1.581 MB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.3015, allocations: 69.38 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.3016, allocations: 23.19 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.3016, allocations: 4.281 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/0.3026, allocations: 0.5527 MB / 382.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3026, allocations: 2.594 kB / 382.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.3028, allocations: 48.5 kB / 382.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.3032, allocations: 109.2 kB / 382.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009442/0.3041, allocations: 1.502 MB / 384.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.3044, allocations: 60.83 kB / 384.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3045, allocations: 22.72 kB / 384.3 MB, free: 11.29 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 (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.0002144/0.3047, allocations: 257.2 kB / 384.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.3048, allocations: 31.06 kB / 384.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.306, allocations: 0.5918 MB / 385.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.306, allocations: 5 kB / 385.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.306, allocations: 3.188 kB / 385.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.306, allocations: 2.672 kB / 385.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.3079, allocations: 1.242 MB / 386.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3079, allocations: 10.27 kB / 386.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.3083, allocations: 84.16 kB / 386.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.3085, allocations: 56.42 kB / 386.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.3085, allocations: 10.75 kB / 386.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3095, allocations: 1.586 MB / 388.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3095, allocations: 4.641 kB / 388.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.3111, allocations: 0.9025 MB / 389.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3112, allocations: 141.9 kB / 389.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.3113, allocations: 15.05 kB / 389.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.3116, allocations: 19.73 kB / 389.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3117, allocations: 36.92 kB / 389.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.3117, allocations: 16.69 kB / 389.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.3119, allocations: 193.1 kB / 389.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3119, allocations: 0 / 389.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008952/0.3128, allocations: 254 kB / 389.7 MB, free: 7.703 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.0002203/0.313, allocations: 142 kB / 389.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.3148, allocations: 1.026 MB / 390.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3149, allocations: 1.641 kB / 390.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.3154, allocations: 387.2 kB / 391.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3159, allocations: 43.14 kB / 391.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.3175, allocations: 1.196 MB / 392.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3178, allocations: 0.8251 MB / 393.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.318, allocations: 52.42 kB / 393.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.318, allocations: 1.438 kB / 393.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of Templates: time 0.01135/0.3293, allocations: 8.061 MB / 401.4 MB, free: 2.051 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/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