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.0009933/0.0009935, allocations: 99.89 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 307.1 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003761/0.1198, allocations: 3.371 MB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1223, allocations: 1.481 MB / 363.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.1226, allocations: 8 kB / 363.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.123, allocations: 135.3 kB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008183/0.1238, allocations: 298.7 kB / 363.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1249, allocations: 0.5365 MB / 364.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.1255, allocations: 486 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.1268, allocations: 0.7284 MB / 365.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.1271, allocations: 187.2 kB / 365.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1273, allocations: 239 kB / 366.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.1274, allocations: 20 kB / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.1278, allocations: 211.8 kB / 366.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.1279, allocations: 87.61 kB / 366.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.974e-05/0.128, allocations: 113.4 kB / 366.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.1287, allocations: 0.6002 MB / 367.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1287, allocations: 0 / 367.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1287, allocations: 0 / 367.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1287, allocations: 0 / 367.1 MB, free: 4.918 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.002061/0.1308, allocations: 0.8932 MB / 368 MB, free: 3.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.1308, allocations: 12.03 kB / 368 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.1336, allocations: 418.9 kB / 368.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.1341, allocations: 348.1 kB / 368.8 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.1342, allocations: 41.31 kB / 368.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.1343, allocations: 63.95 kB / 368.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.1355, allocations: 0.7056 MB / 369.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1355, allocations: 4 kB / 369.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.1356, allocations: 24 kB / 369.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.1356, allocations: 25.3 kB / 369.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.1369, allocations: 0.6962 MB / 370.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1587/0.2956, allocations: 2.427 MB / 372.7 MB, free: 17.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.2968, allocations: 1.2 MB / 373.9 MB, free: 16.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.2972, allocations: 234.6 kB / 374.2 MB, free: 16.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.2974, allocations: 175.7 kB / 374.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2974, allocations: 37.11 kB / 374.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.235e-06/0.2974, allocations: 1.188 kB / 374.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001946/0.2994, allocations: 0.8179 MB / 375.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.2994, allocations: 59.47 kB / 375.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.2997, allocations: 272 kB / 375.5 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.2998, allocations: 31.14 kB / 375.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2999, allocations: 248.9 kB / 375.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3, allocations: 146.4 kB / 375.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.3, allocations: 12.78 kB / 375.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.3001, allocations: 345.6 kB / 376.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.3005, allocations: 191 kB / 376.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.301, allocations: 299.7 kB / 376.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.3015, allocations: 228.2 kB / 377 MB, free: 15.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3015, allocations: 1.219 kB / 377 MB, free: 15.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001034/0.3025, allocations: 0.599 MB / 377.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.3026, allocations: 193.9 kB / 377.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3026, allocations: 4.734 kB / 377.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.3028, allocations: 51.03 kB / 377.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.3032, allocations: 108.6 kB / 377.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.3043, allocations: 1.584 MB / 379.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.3046, allocations: 62.89 kB / 379.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.3047, allocations: 26.11 kB / 379.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.3047, allocations: 3.719 kB / 379.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009125/0.3056, allocations: 0.552 MB / 380.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3056, allocations: 3.438 kB / 380.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.3057, allocations: 52.41 kB / 380.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.3061, allocations: 110.1 kB / 380.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008485/0.307, allocations: 1.509 MB / 381.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.3072, allocations: 46.77 kB / 381.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.3073, allocations: 29.97 kB / 381.9 MB, free: 11.67 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.0001887/0.3075, allocations: 248.5 kB / 382.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.3075, allocations: 36.2 kB / 382.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.3086, allocations: 0.5965 MB / 382.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3087, allocations: 5.625 kB / 382.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3087, allocations: 1.094 kB / 382.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3087, allocations: 2.953 kB / 382.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.3103, allocations: 1.23 MB / 384 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3103, allocations: 7.938 kB / 384 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.3107, allocations: 91.56 kB / 384.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.3108, allocations: 55.92 kB / 384.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3109, allocations: 15.52 kB / 384.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009268/0.3118, allocations: 1.579 MB / 385.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3118, allocations: 0 / 385.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3132, allocations: 0.9021 MB / 386.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3133, allocations: 146.6 kB / 386.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.3134, allocations: 7.5 kB / 386.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3136, allocations: 27.98 kB / 386.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.3137, allocations: 32.8 kB / 386.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.3138, allocations: 20.47 kB / 386.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.3139, allocations: 195.1 kB / 387.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3139, allocations: 1.719 kB / 387.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008231/0.3148, allocations: 245 kB / 387.3 MB, free: 8.078 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.0002127/0.315, allocations: 139.2 kB / 387.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3166, allocations: 1.016 MB / 388.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3166, allocations: 0 / 388.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.3172, allocations: 389 kB / 388.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.3176, allocations: 43.48 kB / 388.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.319, allocations: 1.101 MB / 390 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3193, allocations: 0.8233 MB / 390.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001626/0.3209, allocations: 1.079 MB / 391.9 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3211, allocations: 45.59 kB / 392 MB, free: 5.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3211, allocations: 0 / 392 MB, free: 5.77 MB / 302.1 MB Notification: Performance of Templates: time 0.009309/0.3304, allocations: 4.967 MB / 396.9 MB, free: 4.094 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