Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001406/0.001406, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001492/0.001492, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.461e-05, allocations: 6.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003972/0.004006, allocations: 3.932 MB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.006328, allocations: 1.584 MB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.006574, allocations: 12 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.007739, allocations: 0.8126 MB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007263/0.008465, allocations: 377.8 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008459/0.009311, allocations: 0.6538 MB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.009909, allocations: 0.5523 MB / 280.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.01047, allocations: 456.1 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.01082, allocations: 343.2 kB / 281.7 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.01105, allocations: 227.4 kB / 281.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.0111, allocations: 52 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.01149, allocations: 243.6 kB / 282.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.62e-05/0.01156, allocations: 127.5 kB / 282.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.01168, allocations: 179.5 kB / 282.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005913/0.01227, allocations: 0.5839 MB / 283.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01227, allocations: 0 / 283.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01227, allocations: 4 kB / 283.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.01228, allocations: 0 / 283.1 MB, free: 7.418 MB / 266.7 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.001302/0.01358, allocations: 0.995 MB / 284.1 MB, free: 6.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.01362, allocations: 8.031 kB / 284.1 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.01511, allocations: 0.5039 MB / 284.6 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.01547, allocations: 304.6 kB / 284.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.0155, allocations: 41.69 kB / 284.9 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.01557, allocations: 60.38 kB / 285 MB, free: 5.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.01622, allocations: 0.5632 MB / 285.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01623, allocations: 0 / 285.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.01627, allocations: 28 kB / 285.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.01628, allocations: 12 kB / 285.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.01673, allocations: 339.6 kB / 285.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.01857, allocations: 1.77 MB / 287.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.01923, allocations: 443.5 kB / 288.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.01936, allocations: 119.5 kB / 288.2 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.01942, allocations: 23.98 kB / 288.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.01945, allocations: 45.38 kB / 288.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.573e-06/0.01945, allocations: 0 / 288.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007551/0.0202, allocations: 440.8 kB / 288.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.02023, allocations: 59.36 kB / 288.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.02038, allocations: 256.1 kB / 289 MB, free: 1.191 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.0204, allocations: 29.7 kB / 289.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.02052, allocations: 315.4 kB / 289.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.0206, allocations: 150.7 kB / 289.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.02069, allocations: 103.7 kB / 289.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.02081, allocations: 0.5079 MB / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.127/0.1478, allocations: 78.86 kB / 290.2 MB, free: 20.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.1481, allocations: 226.6 kB / 290.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.1485, allocations: 336.3 kB / 290.7 MB, free: 20.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.1485, allocations: 1.828 kB / 290.7 MB, free: 20.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007355/0.1493, allocations: 405.8 kB / 291.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1493, allocations: 9.969 kB / 291.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.1493, allocations: 6.812 kB / 291.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.1496, allocations: 64.44 kB / 291.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1499, allocations: 96.86 kB / 291.3 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.1511, allocations: 2.135 MB / 293.5 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.1513, allocations: 45.94 kB / 293.5 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.1513, allocations: 21.19 kB / 293.5 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002533/0.1515, allocations: 207.9 kB / 293.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001863/0.1517, allocations: 225.2 kB / 293.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003357/0.1521, allocations: 337.5 kB / 294.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.1521, allocations: 1.891 kB / 294.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005416/0.1526, allocations: 404.2 kB / 294.7 MB, free: 17.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1526, allocations: 6.406 kB / 294.7 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1526, allocations: 4.266 kB / 294.7 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.1528, allocations: 67.27 kB / 294.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.153, allocations: 94.53 kB / 294.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/0.1539, allocations: 2.139 MB / 297 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1541, allocations: 39.33 kB / 297 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1541, allocations: 20.16 kB / 297 MB, free: 16.03 MB / 266.7 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.00012/0.1542, allocations: 303 kB / 297.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.1543, allocations: 39.02 kB / 297.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/0.1549, allocations: 381.1 kB / 297.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.1549, allocations: 11.91 kB / 297.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1549, allocations: 1.188 kB / 297.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1549, allocations: 2.531 kB / 297.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1559, allocations: 0.8562 MB / 298.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1559, allocations: 0.9375 kB / 298.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1561, allocations: 74.55 kB / 298.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.1563, allocations: 63.17 kB / 298.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.1563, allocations: 9.156 kB / 298.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007611/0.1571, allocations: 2.135 MB / 300.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1571, allocations: 0 / 300.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.1577, allocations: 0.5836 MB / 301.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.1578, allocations: 64.98 kB / 301.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1578, allocations: 11.28 kB / 301.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1579, allocations: 17.69 kB / 301.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.158, allocations: 31.58 kB / 301.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.158, allocations: 13.09 kB / 301.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.897e-05/0.1581, allocations: 172.4 kB / 301.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 301.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000661/0.1588, allocations: 261.7 kB / 302 MB, free: 12.98 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 (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.0002133/0.159, allocations: 139.7 kB / 302.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.1599, allocations: 0.8158 MB / 303 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1599, allocations: 1.031 kB / 303 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.1602, allocations: 336.6 kB / 303.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1605, allocations: 48.08 kB / 303.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1618, allocations: 0.7845 MB / 304.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1619, allocations: 119.6 kB / 304.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.1621, allocations: 64.69 kB / 304.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.1621, allocations: 36.75 kB / 304.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1621, allocations: 4 kB / 304.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.007895/0.17, allocations: 4.551 MB / 308.9 MB, free: 11.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/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: 3.105455668643117]