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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 152 kB / 24.8 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9696/0.9696, allocations: 173.4 MB / 201.4 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.054e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005794/0.005824, allocations: 3.827 MB / 272.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.009323, allocations: 1.526 MB / 273.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006119/0.009935, allocations: 12 kB / 273.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.01195, allocations: 0.7814 MB / 274.6 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.01346, allocations: 0.5205 MB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.01478, allocations: 0.5137 MB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.01582, allocations: 0.5407 MB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000894/0.01671, allocations: 452.1 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007336/0.01745, allocations: 355.1 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.01786, allocations: 219.4 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.651e-05/0.01795, allocations: 56 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006505/0.0186, allocations: 215.8 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.01871, allocations: 131.4 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.0189, allocations: 179.5 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.01991, allocations: 0.5566 MB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.01992, allocations: 0 / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01992, allocations: 0 / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.01993, allocations: 0 / 278.3 MB, free: 12.3 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.002184/0.02212, allocations: 0.9988 MB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.02217, allocations: 8.922 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.02485, allocations: 0.5117 MB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.02539, allocations: 295.3 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.02544, allocations: 45.69 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.02555, allocations: 64.36 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.02635, allocations: 401.1 kB / 280.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.02637, allocations: 7.953 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.02643, allocations: 24 kB / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.02645, allocations: 12 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.02698, allocations: 270.1 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.03026, allocations: 1.781 MB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.03086, allocations: 414.9 kB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.03095, allocations: 87.62 kB / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.03101, allocations: 23.97 kB / 283.2 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.03103, allocations: 37.39 kB / 283.2 MB, free: 7.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 3.016e-06/0.03104, allocations: 7.922 kB / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006316/0.03167, allocations: 400.7 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.03169, allocations: 59.41 kB / 283.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.03182, allocations: 249.5 kB / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.03185, allocations: 37.7 kB / 283.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.03196, allocations: 307.4 kB / 284.2 MB, free: 6.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/0.03205, allocations: 158.6 kB / 284.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.03214, allocations: 95.75 kB / 284.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.03226, allocations: 0.5118 MB / 285 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.03234, allocations: 65.64 kB / 285.1 MB, free: 5.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.03248, allocations: 208.9 kB / 285.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.03272, allocations: 313.3 kB / 285.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.03273, allocations: 0 / 285.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003879/0.03311, allocations: 369 kB / 285.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.03313, allocations: 8.406 kB / 285.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.03314, allocations: 8 kB / 285.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.03331, allocations: 63.62 kB / 286 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.03352, allocations: 95.83 kB / 286.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.03454, allocations: 2.106 MB / 288.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.03467, allocations: 43.72 kB / 288.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.03469, allocations: 16 kB / 288.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001333/0.03482, allocations: 195.8 kB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001327/0.03495, allocations: 204.5 kB / 288.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002376/0.03519, allocations: 303.3 kB / 289 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.03519, allocations: 0 / 289 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003607/0.03555, allocations: 368.1 kB / 289.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.03556, allocations: 10.97 kB / 289.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.03557, allocations: 4.406 kB / 289.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.0357, allocations: 63.62 kB / 289.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.03588, allocations: 95.89 kB / 289.5 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1067/0.1426, allocations: 2.102 MB / 291.6 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1428, allocations: 38.89 kB / 291.6 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1428, allocations: 14.7 kB / 291.6 MB, free: 22.45 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.0001108/0.1429, allocations: 299.4 kB / 291.9 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.143, allocations: 43.14 kB / 292 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.1434, allocations: 353 kB / 292.3 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1434, allocations: 5.938 kB / 292.3 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1434, allocations: 1 kB / 292.3 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1434, allocations: 3.016 kB / 292.3 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.1442, allocations: 0.7684 MB / 293.1 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1442, allocations: 1.125 kB / 293.1 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1444, allocations: 71.55 kB / 293.2 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.1445, allocations: 59.38 kB / 293.2 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1445, allocations: 8.875 kB / 293.2 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006551/0.1452, allocations: 2.106 MB / 295.3 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1452, allocations: 0 / 295.3 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.1457, allocations: 0.5211 MB / 295.9 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.1457, allocations: 65.84 kB / 295.9 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1458, allocations: 12.64 kB / 295.9 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1459, allocations: 14.05 kB / 296 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.1459, allocations: 36.34 kB / 296 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.146, allocations: 15.03 kB / 296 MB, free: 19.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.146, allocations: 169.8 kB / 296.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.146, allocations: 0 / 296.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005935/0.1466, allocations: 253.5 kB / 296.4 MB, free: 19.51 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.0001611/0.1468, allocations: 141.7 kB / 296.6 MB, free: 19.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006626/0.1474, allocations: 0.7614 MB / 297.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1474, allocations: 4.688 kB / 297.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1476, allocations: 324.8 kB / 297.6 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1479, allocations: 41.41 kB / 297.7 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.149, allocations: 0.774 MB / 298.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.496e-05/0.149, allocations: 115.5 kB / 298.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.1492, allocations: 68.5 kB / 298.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1493, allocations: 123.8 kB / 298.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1493, allocations: 0 / 298.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of Templates: time 0.007177/0.1565, allocations: 4.945 MB / 303.7 MB, free: 17.85 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] 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","",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.743491759058088]