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.000933/0.0009331, allocations: 91.38 kB / 17.35 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 197.8 kB / 18.28 MB, free: 5.355 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.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002281/0.0002282, allocations: 8 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1004, allocations: 51.53 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004393/0.1048, allocations: 3.552 MB / 362.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.108, allocations: 1.601 MB / 364.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.1084, allocations: 8 kB / 364.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.109, allocations: 175.2 kB / 364.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.1102, allocations: 334.7 kB / 364.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1116, allocations: 0.6423 MB / 365.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007365/0.1124, allocations: 0.5019 MB / 366 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.1139, allocations: 0.7876 MB / 366.8 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.1143, allocations: 199.1 kB / 367 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.1146, allocations: 242.9 kB / 367.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.1147, allocations: 24 kB / 367.3 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.1152, allocations: 223.8 kB / 367.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.1153, allocations: 83.61 kB / 367.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.1156, allocations: 256.3 kB / 367.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009393/0.1165, allocations: 0.7594 MB / 368.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1165, allocations: 3.938 kB / 368.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1165, allocations: 3.938 kB / 368.6 MB, free: 3.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.1166, allocations: 4 kB / 368.6 MB, free: 3.859 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.002488/0.1191, allocations: 0.8959 MB / 369.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1191, allocations: 8.031 kB / 369.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.1223, allocations: 411.9 kB / 369.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.123, allocations: 359 kB / 370.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.123, allocations: 45.69 kB / 370.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1231, allocations: 63.94 kB / 370.4 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.1245, allocations: 0.6979 MB / 371.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.1246, allocations: 4 kB / 371.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.1246, allocations: 24 kB / 371.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.1247, allocations: 29.3 kB / 371.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1261, allocations: 0.7001 MB / 371.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1679/0.294, allocations: 2.429 MB / 374.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.2955, allocations: 1.202 MB / 375.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.296, allocations: 240.9 kB / 375.7 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.2961, allocations: 172.3 kB / 375.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2961, allocations: 41.27 kB / 375.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.605e-06/0.2961, allocations: 3.828 kB / 375.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001985/0.2981, allocations: 0.8135 MB / 376.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.2982, allocations: 59.72 kB / 376.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.2984, allocations: 271.5 kB / 377 MB, free: 16.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.2985, allocations: 35.45 kB / 377.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2986, allocations: 247.6 kB / 377.3 MB, free: 16.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.2987, allocations: 151.5 kB / 377.5 MB, free: 16.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.2988, allocations: 47.72 kB / 377.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.2989, allocations: 344.3 kB / 377.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.2993, allocations: 193 kB / 378 MB, free: 15.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.2997, allocations: 308.5 kB / 378.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.3005, allocations: 0.4964 MB / 378.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3005, allocations: 1.625 kB / 378.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001189/0.3017, allocations: 0.616 MB / 379.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/0.3018, allocations: 185.2 kB / 379.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3018, allocations: 3.469 kB / 379.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.3021, allocations: 61.06 kB / 379.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.3026, allocations: 107.7 kB / 379.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3038, allocations: 1.588 MB / 381.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.3041, allocations: 66.8 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.3041, allocations: 23.19 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.3041, allocations: 3.969 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009958/0.3051, allocations: 0.552 MB / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3052, allocations: 4.094 kB / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.3053, allocations: 51.28 kB / 382.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.3057, allocations: 110.1 kB / 382.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000911/0.3067, allocations: 1.504 MB / 383.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.307, allocations: 55.09 kB / 383.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.307, allocations: 30.23 kB / 383.8 MB, free: 11.32 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.0002157/0.3072, allocations: 254 kB / 384 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.3073, allocations: 30.94 kB / 384.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3085, allocations: 0.5921 MB / 384.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3086, allocations: 9.219 kB / 384.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3086, allocations: 1.062 kB / 384.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3086, allocations: 2.859 kB / 384.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.3104, allocations: 1.25 MB / 385.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3104, allocations: 8.562 kB / 385.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.3108, allocations: 93.25 kB / 386 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.311, allocations: 47.09 kB / 386.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.3111, allocations: 14.36 kB / 386.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.3121, allocations: 1.58 MB / 387.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3121, allocations: 4.5 kB / 387.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.3136, allocations: 0.9066 MB / 388.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3138, allocations: 144.1 kB / 388.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.3138, allocations: 10.73 kB / 388.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.3141, allocations: 23.23 kB / 388.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.3142, allocations: 37.11 kB / 388.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.3142, allocations: 16.94 kB / 388.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.3144, allocations: 197.3 kB / 389 MB, free: 7.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3144, allocations: 1.969 kB / 389 MB, free: 7.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008875/0.3153, allocations: 249.5 kB / 389.2 MB, free: 7.715 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.0002273/0.3156, allocations: 139.4 kB / 389.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3173, allocations: 1.019 MB / 390.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3173, allocations: 1.375 kB / 390.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.3179, allocations: 385.2 kB / 390.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3184, allocations: 51.17 kB / 390.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3198, allocations: 1.149 MB / 392 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3201, allocations: 0.829 MB / 392.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001534/0.3217, allocations: 1.084 MB / 393.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3218, allocations: 46.84 kB / 393.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3218, allocations: 0 / 393.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of Templates: time 0.009453/0.3313, allocations: 5.092 MB / 399 MB, free: 3.352 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","/var/lib/jenkins/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