Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000989/0.000989, allocations: 84.98 kB / 22.99 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 176.2 kB / 26.4 MB, free: 7.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8671/0.8671, allocations: 158.6 MB / 188.3 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.46e-05, allocations: 6.25 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00366/0.003674, allocations: 3.958 MB / 256.2 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005725, allocations: 1.585 MB / 257.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.005936, allocations: 12 kB / 257.8 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.006944, allocations: 0.8008 MB / 258.6 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.007623, allocations: 433.6 kB / 259 MB, free: 440 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.008349, allocations: 0.6304 MB / 259.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.008869, allocations: 0.6105 MB / 260.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.009358, allocations: 476 kB / 260.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.009692, allocations: 383 kB / 261.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.01017, allocations: 247.3 kB / 261.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.01022, allocations: 56 kB / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.01057, allocations: 239.5 kB / 261.6 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.01064, allocations: 135.4 kB / 261.8 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.01077, allocations: 199.4 kB / 262 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006177/0.01139, allocations: 0.5877 MB / 262.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01139, allocations: 0 / 262.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01139, allocations: 4 kB / 262.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.0114, allocations: 0 / 262.6 MB, free: 12.89 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001259/0.01266, allocations: 1.046 MB / 263.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.01269, allocations: 11.98 kB / 263.6 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.01492, allocations: 0.7691 MB / 264.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.01527, allocations: 319.7 kB / 264.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.0153, allocations: 50.38 kB / 264.8 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.01537, allocations: 68.31 kB / 264.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.01588, allocations: 470.2 kB / 265.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.0159, allocations: 4.141 kB / 265.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.01594, allocations: 27.94 kB / 265.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01595, allocations: 20 kB / 265.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.01633, allocations: 345.6 kB / 265.7 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.01852, allocations: 1.961 MB / 267.6 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.0192, allocations: 0.504 MB / 268.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.0193, allocations: 105.1 kB / 268.2 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.01934, allocations: 20.48 kB / 268.3 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.01964, allocations: 41.89 kB / 268.3 MB, free: 6.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/0.01964, allocations: 0 / 268.3 MB, free: 6.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006863/0.02032, allocations: 420.4 kB / 268.7 MB, free: 6.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.02037, allocations: 63.89 kB / 268.8 MB, free: 6.461 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.02054, allocations: 288.1 kB / 269 MB, free: 6.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.02056, allocations: 29.7 kB / 269.1 MB, free: 6.125 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.02071, allocations: 366.9 kB / 269.4 MB, free: 5.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.02079, allocations: 170.5 kB / 269.6 MB, free: 5.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.0209, allocations: 119.8 kB / 269.7 MB, free: 5.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.02101, allocations: 0.5194 MB / 270.2 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.0211, allocations: 74.25 kB / 270.3 MB, free: 4.859 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.02129, allocations: 330.8 kB / 270.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.02161, allocations: 453.4 kB / 271.1 MB, free: 3.879 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.02162, allocations: 4 kB / 271.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004744/0.02209, allocations: 464.8 kB / 271.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.0221, allocations: 8 kB / 271.5 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.02211, allocations: 4 kB / 271.5 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.0223, allocations: 76 kB / 271.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.02255, allocations: 123.8 kB / 271.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.02359, allocations: 2.114 MB / 273.9 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.02376, allocations: 55.61 kB / 273.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.02378, allocations: 28 kB / 273.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001481/0.02393, allocations: 204.2 kB / 274.1 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001803/0.02411, allocations: 334.7 kB / 274.5 MB, free: 256 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003111/0.02442, allocations: 457.4 kB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.02442, allocations: 4 kB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0007034/0.02513, allocations: 456.7 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.02514, allocations: 11.98 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.02514, allocations: 4 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.02528, allocations: 76.2 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.0255, allocations: 127.8 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008507/0.02635, allocations: 2.106 MB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.0265, allocations: 55.66 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.02653, allocations: 27.98 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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.0001203/0.02665, allocations: 299.9 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.0267, allocations: 47.81 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.02709, allocations: 365.2 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.0271, allocations: 8 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.0271, allocations: 0 / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.0271, allocations: 3.984 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.02779, allocations: 0.8069 MB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.02779, allocations: 8.062 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.02797, allocations: 83.89 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.02809, allocations: 63.58 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.02811, allocations: 12 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008468/0.02896, allocations: 2.106 MB / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02896, allocations: 0 / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.02942, allocations: 0.5406 MB / 282.1 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.02949, allocations: 71.64 kB / 282.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.02952, allocations: 4.125 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.02963, allocations: 23.94 kB / 282.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.02968, allocations: 36.42 kB / 282.2 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.0297, allocations: 16.06 kB / 282.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003215/0.03002, allocations: 185.1 kB / 282.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03002, allocations: 0 / 282.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005847/0.0306, allocations: 287.1 kB / 282.7 MB, free: 7.582 MB / 266.7 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 (46): * Single equations (assignments): 45 * 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.0001548/0.03076, allocations: 139.1 kB / 282.8 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.03146, allocations: 0.8516 MB / 283.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03146, allocations: 4 kB / 283.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.03166, allocations: 325.5 kB / 284 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.03191, allocations: 56.41 kB / 284.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.03302, allocations: 0.8811 MB / 284.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.03309, allocations: 119.3 kB / 285.1 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.03329, allocations: 83.22 kB / 285.1 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.03343, allocations: 134.2 kB / 285.3 MB, free: 4.887 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03343, allocations: 4 kB / 285.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of Templates: time 0.007848/0.04128, allocations: 5.381 MB / 290.7 MB, free: 15.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.637811512220651]