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.001626/0.001626, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.1 MB, free: 10.67 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001853, allocations: 63.36 kB / 307.1 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.09761, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005773/0.1034, allocations: 3.975 MB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002931/0.1064, allocations: 1.616 MB / 363.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.1067, allocations: 12 kB / 363.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1085, allocations: 0.7199 MB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000941/0.1095, allocations: 334.3 kB / 364.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1108, allocations: 0.638 MB / 365 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000681/0.1115, allocations: 0.5176 MB / 365.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009097/0.1124, allocations: 0.5471 MB / 366 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.1128, allocations: 239.1 kB / 366.3 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.1132, allocations: 298.8 kB / 366.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.526e-05/0.1133, allocations: 52 kB / 366.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.1138, allocations: 259.8 kB / 366.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1139, allocations: 123.6 kB / 367 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.1142, allocations: 274.6 kB / 367.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007924/0.115, allocations: 0.6197 MB / 367.9 MB, free: 4.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.115, allocations: 0 / 367.9 MB, free: 4.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.115, allocations: 4 kB / 367.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.115, allocations: 7.938 kB / 367.9 MB, free: 4.141 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.002425/0.1175, allocations: 0.987 MB / 368.9 MB, free: 3.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1175, allocations: 8.031 kB / 368.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.1204, allocations: 387.9 kB / 369.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.121, allocations: 355.6 kB / 369.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.1211, allocations: 49.62 kB / 369.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1212, allocations: 55.94 kB / 369.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.1225, allocations: 0.7057 MB / 370.4 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1226, allocations: 4 kB / 370.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.1226, allocations: 28 kB / 370.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.1227, allocations: 21.3 kB / 370.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.124, allocations: 0.6962 MB / 371.2 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1629/0.2869, allocations: 2.428 MB / 373.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.2883, allocations: 1.193 MB / 374.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.2888, allocations: 230.1 kB / 375 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.2889, allocations: 178.6 kB / 375.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.2889, allocations: 36.88 kB / 375.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.905e-06/0.2889, allocations: 6.797 kB / 375.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001891/0.2908, allocations: 0.7971 MB / 376 MB, free: 17.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2909, allocations: 55.88 kB / 376.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.2912, allocations: 278.1 kB / 376.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.2912, allocations: 34.58 kB / 376.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.2914, allocations: 246.1 kB / 376.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.2915, allocations: 146.2 kB / 376.8 MB, free: 16.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.2917, allocations: 98.33 kB / 376.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.2917, allocations: 343.4 kB / 377.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.2921, allocations: 197.1 kB / 377.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.2926, allocations: 305.4 kB / 377.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/0.2934, allocations: 0.4915 MB / 378.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2934, allocations: 1.438 kB / 378.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001181/0.2946, allocations: 0.6084 MB / 378.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2946, allocations: 5.531 kB / 378.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.2946, allocations: 5.156 kB / 378.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.2949, allocations: 54.36 kB / 378.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.2954, allocations: 108.2 kB / 379 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.2966, allocations: 1.772 MB / 380.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.297, allocations: 57.2 kB / 380.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.297, allocations: 23.67 kB / 380.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004658/0.2975, allocations: 311.7 kB / 381.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003949/0.2979, allocations: 289.2 kB / 381.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007007/0.2986, allocations: 0.4903 MB / 381.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.2986, allocations: 0 / 381.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001117/0.2997, allocations: 0.5869 MB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2998, allocations: 11.62 kB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2998, allocations: 7.656 kB / 382.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.3, allocations: 55.55 kB / 382.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.3004, allocations: 107.5 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.3015, allocations: 1.771 MB / 384.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.3019, allocations: 39.12 kB / 384.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.302, allocations: 23.08 kB / 384.5 MB, free: 11.21 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.000165/0.3021, allocations: 207.9 kB / 384.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.3022, allocations: 30.12 kB / 384.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3034, allocations: 0.5946 MB / 385.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3035, allocations: 5.031 kB / 385.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3035, allocations: 1.25 kB / 385.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3035, allocations: 3.797 kB / 385.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.3054, allocations: 1.237 MB / 386.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3054, allocations: 0 / 386.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.3058, allocations: 86.88 kB / 386.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.306, allocations: 59.38 kB / 386.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.3061, allocations: 20.72 kB / 386.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.3072, allocations: 1.749 MB / 388.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3072, allocations: 0 / 388.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.3087, allocations: 0.8918 MB / 389.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3089, allocations: 151.9 kB / 389.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.309, allocations: 10.16 kB / 389.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.3092, allocations: 16.78 kB / 389.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3094, allocations: 43.48 kB / 389.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.3094, allocations: 16.52 kB / 389.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3096, allocations: 194.8 kB / 389.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3096, allocations: 0 / 389.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001014/0.3106, allocations: 241.2 kB / 390 MB, free: 7.488 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.0002593/0.3109, allocations: 148.5 kB / 390.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.313, allocations: 1.026 MB / 391.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.313, allocations: 0 / 391.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.3136, allocations: 382.4 kB / 391.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.3142, allocations: 42.2 kB / 391.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.3158, allocations: 1.144 MB / 392.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.3161, allocations: 0.8253 MB / 393.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.3163, allocations: 54.8 kB / 393.6 MB, free: 5.133 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3164, allocations: 0 / 393.6 MB, free: 5.133 MB / 302.1 MB Notification: Performance of Templates: time 0.01084/0.3272, allocations: 8.149 MB / 401.8 MB, free: 1.766 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.1.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