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.001491/0.001491, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 69.16 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08143/0.08264, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005114/0.08777, allocations: 3.95 MB / 362.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.09054, allocations: 1.624 MB / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.09092, allocations: 12 kB / 364.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.0928, allocations: 0.7811 MB / 365.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000967/0.09378, allocations: 370 kB / 365.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.09508, allocations: 0.6798 MB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008093/0.0959, allocations: 0.5331 MB / 366.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008477/0.09676, allocations: 488 kB / 367.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.09719, allocations: 247 kB / 367.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.09757, allocations: 294.8 kB / 367.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.09767, allocations: 52 kB / 367.9 MB, free: 4.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.09818, allocations: 259.8 kB / 368.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.0983, allocations: 123.5 kB / 368.3 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.09855, allocations: 266.7 kB / 368.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.09939, allocations: 0.7982 MB / 369.3 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.09941, allocations: 0 / 369.3 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09942, allocations: 0 / 369.3 MB, free: 2.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.09944, allocations: 0 / 369.3 MB, free: 2.84 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.002067/0.1015, allocations: 0.9559 MB / 370.3 MB, free: 1.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1016, allocations: 12.03 kB / 370.3 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.1044, allocations: 411.9 kB / 370.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.105, allocations: 361.3 kB / 371.1 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.1051, allocations: 45.69 kB / 371.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/0.1052, allocations: 59.88 kB / 371.2 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1063, allocations: 0.6354 MB / 371.8 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1063, allocations: 3.984 kB / 371.8 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.1064, allocations: 24 kB / 371.8 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.1064, allocations: 19.94 kB / 371.8 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.142/0.2484, allocations: 0.5663 MB / 372.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.2512, allocations: 2.231 MB / 374.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2524, allocations: 1.173 MB / 375.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.2528, allocations: 203.3 kB / 376 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.2529, allocations: 174.3 kB / 376.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2529, allocations: 37.59 kB / 376.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.514e-06/0.2529, allocations: 1.75 kB / 376.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001552/0.2545, allocations: 0.6847 MB / 376.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.2545, allocations: 61 kB / 377 MB, free: 17.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.2548, allocations: 271.4 kB / 377.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2548, allocations: 36.02 kB / 377.3 MB, free: 17.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.2549, allocations: 241 kB / 377.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.255, allocations: 153.4 kB / 377.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2551, allocations: 80.28 kB / 377.7 MB, free: 17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.2552, allocations: 345.8 kB / 378.1 MB, free: 16.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.2555, allocations: 152.9 kB / 378.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.2558, allocations: 263.1 kB / 378.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.2565, allocations: 436.4 kB / 378.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2565, allocations: 2.094 kB / 378.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009238/0.2574, allocations: 0.5166 MB / 379.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2575, allocations: 6.125 kB / 379.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2575, allocations: 8.188 kB / 379.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.2577, allocations: 51.7 kB / 379.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.2581, allocations: 100 kB / 379.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.2592, allocations: 1.768 MB / 381.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.2595, allocations: 57.89 kB / 381.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.2595, allocations: 19.72 kB / 381.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003601/0.2599, allocations: 268.9 kB / 381.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003017/0.2602, allocations: 254.2 kB / 381.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005619/0.2608, allocations: 422.1 kB / 382.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.2608, allocations: 1.188 kB / 382.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008498/0.2617, allocations: 0.5094 MB / 382.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.2617, allocations: 6.781 kB / 382.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2617, allocations: 2.281 kB / 382.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.2619, allocations: 58.75 kB / 382.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.2622, allocations: 104.5 kB / 383 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009996/0.2632, allocations: 1.752 MB / 384.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.2635, allocations: 48.94 kB / 384.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.2636, allocations: 19.48 kB / 384.8 MB, free: 11.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001362/0.2637, allocations: 213.8 kB / 385 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.2638, allocations: 32.73 kB / 385.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.2649, allocations: 0.5021 MB / 385.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2649, allocations: 12.56 kB / 385.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.265, allocations: 0.75 kB / 385.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.265, allocations: 3.859 kB / 385.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.2666, allocations: 1.082 MB / 386.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2666, allocations: 0 / 386.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.267, allocations: 84.42 kB / 386.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.2671, allocations: 47 kB / 386.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.2672, allocations: 12.47 kB / 386.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.2682, allocations: 1.754 MB / 388.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2682, allocations: 0.6562 kB / 388.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.2694, allocations: 0.7443 MB / 389.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2696, allocations: 147.1 kB / 389.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.2696, allocations: 10.59 kB / 389.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2699, allocations: 21.66 kB / 389.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.27, allocations: 34.48 kB / 389.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.27, allocations: 13.81 kB / 389.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2702, allocations: 194 kB / 389.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2702, allocations: 0 / 389.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008283/0.271, allocations: 241.9 kB / 390 MB, free: 8.109 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.0002377/0.2713, allocations: 140.6 kB / 390.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2728, allocations: 0.8809 MB / 391 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2728, allocations: 5.438 kB / 391 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.2733, allocations: 332.7 kB / 391.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2738, allocations: 54.84 kB / 391.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2753, allocations: 0.8535 MB / 392.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.2757, allocations: 0.8251 MB / 393 MB, free: 6.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.2761, allocations: 74.12 kB / 393.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.2762, allocations: 37.53 kB / 393.2 MB, free: 6.094 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2762, allocations: 0 / 393.2 MB, free: 6.094 MB / 302.1 MB Notification: Performance of Templates: time 0.01011/0.2863, allocations: 4.786 MB / 397.9 MB, free: 4.641 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 -s gbode -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