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.0018/0.0018, allocations: 111.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.0022/0.0022, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00158/0.00158, allocations: 51.91 kB / 374.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09941, allocations: 53.33 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005974/0.1054, allocations: 3.986 MB / 431.5 MB, free: 300 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.1087, allocations: 1.655 MB / 433.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.1092, allocations: 19.88 kB / 433.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.1113, allocations: 0.7661 MB / 433.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1125, allocations: 377.5 kB / 434.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.114, allocations: 0.6772 MB / 435 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009279/0.1149, allocations: 0.5284 MB / 435.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008252/0.1158, allocations: 396.1 kB / 435.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.1162, allocations: 259 kB / 436.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.1166, allocations: 286.8 kB / 436.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1168, allocations: 52 kB / 436.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005985/0.1174, allocations: 259.8 kB / 436.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1175, allocations: 119.5 kB / 436.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1178, allocations: 266.7 kB / 437.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1189, allocations: 0.8055 MB / 437.9 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.119, allocations: 3.938 kB / 437.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.119, allocations: 0 / 437.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.119, allocations: 0 / 437.9 MB, free: 9.84 MB / 366.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.002472/0.1214, allocations: 0.9704 MB / 438.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1215, allocations: 12.03 kB / 438.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.1245, allocations: 388.2 kB / 439.3 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007273/0.1252, allocations: 365.4 kB / 439.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.1253, allocations: 45.69 kB / 439.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1254, allocations: 63.92 kB / 439.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.1267, allocations: 0.6354 MB / 440.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1267, allocations: 0 / 440.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.1267, allocations: 28 kB / 440.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1268, allocations: 12 kB / 440.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.128, allocations: 0.5751 MB / 441 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.1314, allocations: 2.245 MB / 443.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.133, allocations: 1.135 MB / 444.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.1334, allocations: 172.8 kB / 444.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.1336, allocations: 182.2 kB / 444.7 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1336, allocations: 42.56 kB / 444.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.903e-06/0.1336, allocations: 0 / 444.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001801/0.1354, allocations: 0.6747 MB / 445.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.1354, allocations: 59.41 kB / 445.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1358, allocations: 282.5 kB / 445.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.1358, allocations: 29.7 kB / 445.8 MB, free: 1.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.136, allocations: 253 kB / 446 MB, free: 1.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1361, allocations: 158.5 kB / 446.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1363, allocations: 86.25 kB / 446.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1364, allocations: 342.7 kB / 446.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.1368, allocations: 155 kB / 446.7 MB, free: 432 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.1372, allocations: 257.9 kB / 447 MB, free: 128 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2068/0.344, allocations: 434.1 kB / 447.4 MB, free: 23.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.344, allocations: 1.188 kB / 447.4 MB, free: 23.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001221/0.3453, allocations: 0.5199 MB / 447.9 MB, free: 23.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3453, allocations: 7.062 kB / 447.9 MB, free: 23.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3453, allocations: 4.062 kB / 448 MB, free: 23.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.3456, allocations: 56.97 kB / 448 MB, free: 23.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.346, allocations: 102.7 kB / 448.1 MB, free: 23.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.3473, allocations: 1.772 MB / 449.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.3477, allocations: 57.73 kB / 449.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3477, allocations: 19.75 kB / 450 MB, free: 22.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004351/0.3481, allocations: 273.5 kB / 450.2 MB, free: 22.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003669/0.3485, allocations: 247 kB / 450.5 MB, free: 22.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006775/0.3492, allocations: 428.2 kB / 450.9 MB, free: 22.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.3492, allocations: 1.5 kB / 450.9 MB, free: 22.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001056/0.3502, allocations: 0.5115 MB / 451.4 MB, free: 22.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3502, allocations: 7.438 kB / 451.4 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3502, allocations: 5.797 kB / 451.4 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.3504, allocations: 56.33 kB / 451.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3508, allocations: 100.9 kB / 451.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.3519, allocations: 1.763 MB / 453.3 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3522, allocations: 44.02 kB / 453.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.3522, allocations: 15.53 kB / 453.4 MB, free: 20.36 MB / 366.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.0001414/0.3524, allocations: 217 kB / 453.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.3524, allocations: 31.09 kB / 453.6 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.3536, allocations: 0.5027 MB / 454.1 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3536, allocations: 8.156 kB / 454.1 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3536, allocations: 1.375 kB / 454.1 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3536, allocations: 6.219 kB / 454.1 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3553, allocations: 1.076 MB / 455.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3553, allocations: 0 / 455.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.3557, allocations: 83.98 kB / 455.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.3559, allocations: 61.84 kB / 455.4 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3559, allocations: 9.797 kB / 455.4 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3571, allocations: 1.763 MB / 457.1 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3571, allocations: 2.906 kB / 457.1 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.3585, allocations: 0.7492 MB / 457.9 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.3587, allocations: 146.6 kB / 458 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.3587, allocations: 12.22 kB / 458 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.359, allocations: 17.09 kB / 458.1 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.3591, allocations: 30.98 kB / 458.1 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.3591, allocations: 16 kB / 458.1 MB, free: 17.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.3593, allocations: 193.5 kB / 458.3 MB, free: 16.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3593, allocations: 4 kB / 458.3 MB, free: 16.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001025/0.3603, allocations: 243.4 kB / 458.5 MB, free: 16.9 MB / 366.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.0002555/0.3606, allocations: 139.4 kB / 458.7 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.3623, allocations: 0.8418 MB / 459.5 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3623, allocations: 0.5 kB / 459.5 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.3629, allocations: 317.1 kB / 459.8 MB, free: 16.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.3633, allocations: 48.73 kB / 459.9 MB, free: 16.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3649, allocations: 0.8954 MB / 460.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3653, allocations: 0.8222 MB / 461.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3654, allocations: 47.84 kB / 461.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3654, allocations: 0 / 461.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01285/0.3783, allocations: 7.506 MB / 469.1 MB, free: 13.8 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.669357075996231]