Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 98.77 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001557, allocations: 193.2 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 50.98 kB / 299.9 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07706/0.07808, allocations: 49.45 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00509/0.08321, allocations: 3.963 MB / 353.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.08587, allocations: 1.561 MB / 354.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.0863, allocations: 12 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.08818, allocations: 0.7243 MB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.08964, allocations: 498 kB / 356.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.091, allocations: 0.5019 MB / 356.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009377/0.09195, allocations: 0.5019 MB / 357.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.09291, allocations: 458.4 kB / 357.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.09328, allocations: 219.1 kB / 357.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.09366, allocations: 294.8 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.09377, allocations: 40 kB / 358.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.09429, allocations: 219.8 kB / 358.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.0944, allocations: 107.6 kB / 358.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.09465, allocations: 254.7 kB / 358.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.09567, allocations: 0.7788 MB / 359.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.09568, allocations: 7.938 kB / 359.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09569, allocations: 0 / 359.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.09573, allocations: 4 kB / 359.5 MB, free: 10.72 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.002592/0.09832, allocations: 0.987 MB / 360.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.09837, allocations: 8.031 kB / 360.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.1012, allocations: 407.9 kB / 360.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.1017, allocations: 361.2 kB / 361.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.1018, allocations: 41.69 kB / 361.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.1019, allocations: 59.94 kB / 361.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1032, allocations: 0.7018 MB / 362 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.1032, allocations: 0 / 362 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.1033, allocations: 27.98 kB / 362.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.1033, allocations: 21.31 kB / 362.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1046, allocations: 0.6923 MB / 362.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.108, allocations: 2.362 MB / 365.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.1093, allocations: 1.184 MB / 366.3 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.1098, allocations: 232.8 kB / 366.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.1099, allocations: 89.09 kB / 366.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1099, allocations: 38.56 kB / 366.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.673e-06/0.1099, allocations: 0 / 366.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001794/0.1117, allocations: 0.7956 MB / 367.5 MB, free: 2.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.1117, allocations: 59.41 kB / 367.5 MB, free: 2.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.112, allocations: 274.5 kB / 367.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.112, allocations: 33.7 kB / 367.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1122, allocations: 244.6 kB / 368.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1123, allocations: 153.7 kB / 368.2 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.1125, allocations: 94.23 kB / 368.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1126, allocations: 338.8 kB / 368.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.113, allocations: 195 kB / 368.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.1135, allocations: 302.4 kB / 369.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1469/0.2604, allocations: 0.4901 MB / 369.6 MB, free: 25.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.2604, allocations: 3.188 kB / 369.6 MB, free: 25.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001447/0.2619, allocations: 0.5916 MB / 370.2 MB, free: 25.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2619, allocations: 9.016 kB / 370.2 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.262, allocations: 2.75 kB / 370.2 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/0.2622, allocations: 62.05 kB / 370.3 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.2627, allocations: 107.1 kB / 370.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.264, allocations: 1.595 MB / 372 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.2643, allocations: 58.67 kB / 372 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.2644, allocations: 25.33 kB / 372.1 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005053/0.2649, allocations: 309.7 kB / 372.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004063/0.2653, allocations: 293.9 kB / 372.7 MB, free: 23.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007316/0.2661, allocations: 499 kB / 373.1 MB, free: 23.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.2661, allocations: 1.312 kB / 373.1 MB, free: 23.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001137/0.2672, allocations: 0.5969 MB / 373.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2672, allocations: 7.422 kB / 373.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2672, allocations: 5.969 kB / 373.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.2674, allocations: 55.05 kB / 373.8 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.2679, allocations: 107.8 kB / 373.9 MB, free: 23.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.2689, allocations: 1.594 MB / 375.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2692, allocations: 42.06 kB / 375.6 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.2693, allocations: 27.52 kB / 375.6 MB, free: 21.65 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.0001364/0.2694, allocations: 210.7 kB / 375.8 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.2695, allocations: 31.62 kB / 375.8 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.2707, allocations: 0.5881 MB / 376.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2707, allocations: 5.5 kB / 376.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2707, allocations: 0 / 376.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2707, allocations: 3.734 kB / 376.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.2726, allocations: 1.231 MB / 377.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2726, allocations: 2.172 kB / 377.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.273, allocations: 87.53 kB / 377.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.2732, allocations: 47.36 kB / 377.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.2732, allocations: 19.23 kB / 377.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.2742, allocations: 1.592 MB / 379.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2743, allocations: 2.438 kB / 379.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2757, allocations: 0.8869 MB / 380.3 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2759, allocations: 139.4 kB / 380.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.2759, allocations: 11.47 kB / 380.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.2762, allocations: 17.36 kB / 380.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.2763, allocations: 36.33 kB / 380.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.2764, allocations: 19.92 kB / 380.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2765, allocations: 195.5 kB / 380.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2765, allocations: 2.734 kB / 380.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008541/0.2774, allocations: 245.3 kB / 380.9 MB, free: 18.12 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.0002036/0.2776, allocations: 144.8 kB / 381.1 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.2792, allocations: 0.9996 MB / 382.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2792, allocations: 0 / 382.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005282/0.2798, allocations: 383.2 kB / 382.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.2802, allocations: 44.77 kB / 382.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.2817, allocations: 1.105 MB / 383.6 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.282, allocations: 0.8267 MB / 384.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001431/0.2834, allocations: 1.085 MB / 385.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.2836, allocations: 41.41 kB / 385.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2836, allocations: 0 / 385.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Templates: time 0.009926/0.2935, allocations: 5.067 MB / 390.6 MB, free: 14.37 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches