Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 74.97 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 161.5 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 64.92 kB / 325.5 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09154, allocations: 53.38 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005368/0.09691, allocations: 3.667 MB / 382.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.09984, allocations: 1.518 MB / 384.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.1, allocations: 19.94 kB / 384.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.1019, allocations: 0.7546 MB / 384.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008764/0.1028, allocations: 362 kB / 385.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1042, allocations: 0.6461 MB / 385.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.1048, allocations: 0.5253 MB / 386.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/0.1055, allocations: 452.2 kB / 386.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.1058, allocations: 239.1 kB / 387.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.1062, allocations: 262.8 kB / 387.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.1063, allocations: 52 kB / 387.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.1067, allocations: 247.8 kB / 387.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1068, allocations: 119.6 kB / 387.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.107, allocations: 215 kB / 387.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000954/0.108, allocations: 0.8094 MB / 388.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.108, allocations: 0 / 388.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.108, allocations: 0 / 388.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.108, allocations: 4 kB / 388.8 MB, free: 5.727 MB / 350.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.002087/0.1101, allocations: 0.8951 MB / 389.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1101, allocations: 11.98 kB / 389.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.1129, allocations: 388.2 kB / 390 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.1135, allocations: 307.5 kB / 390.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.1136, allocations: 49.69 kB / 390.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.1136, allocations: 63.94 kB / 390.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1148, allocations: 0.6817 MB / 391.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.1148, allocations: 4 kB / 391.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.1149, allocations: 20 kB / 391.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.1149, allocations: 16 kB / 391.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.116, allocations: 0.5712 MB / 391.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.1189, allocations: 1.759 MB / 393.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1201, allocations: 463.8 kB / 394 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.1205, allocations: 172.8 kB / 394.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.1205, allocations: 23.98 kB / 394.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1206, allocations: 34.56 kB / 394.2 MB, free: 96 kB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.613e-06/0.1206, allocations: 7.938 kB / 394.2 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001633/0.1222, allocations: 0.6006 MB / 394.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.1223, allocations: 63.41 kB / 394.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1224, allocations: 203.6 kB / 395.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.1225, allocations: 33.7 kB / 395.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1227, allocations: 256.7 kB / 395.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.1228, allocations: 154.6 kB / 395.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1229, allocations: 94.14 kB / 395.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.123, allocations: 334.8 kB / 395.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.1234, allocations: 154.8 kB / 396.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.1238, allocations: 257.2 kB / 396.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.1246, allocations: 433.7 kB / 396.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1246, allocations: 4 kB / 396.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001064/0.1257, allocations: 0.5143 MB / 397.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1257, allocations: 10.66 kB / 397.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1257, allocations: 0 / 397.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.1259, allocations: 60.81 kB / 397.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.1264, allocations: 99.83 kB / 397.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.1279, allocations: 1.629 MB / 399 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.1282, allocations: 47.72 kB / 399.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.1282, allocations: 20 kB / 399.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004246/0.1286, allocations: 269.1 kB / 399.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003923/0.129, allocations: 252.9 kB / 399.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007205/0.1298, allocations: 423.7 kB / 400 MB, free: 9.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.431e-06/0.1298, allocations: 11.88 kB / 400 MB, free: 9.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009741/0.1307, allocations: 0.5017 MB / 400.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1307, allocations: 8 kB / 400.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1308, allocations: 0 / 400.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.1309, allocations: 60.77 kB / 400.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.1313, allocations: 103.8 kB / 400.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.1328, allocations: 1.617 MB / 402.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.133, allocations: 47.66 kB / 402.4 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.1331, allocations: 20 kB / 402.4 MB, free: 7.414 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.0001589/0.1332, allocations: 204.1 kB / 402.6 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.1333, allocations: 27.84 kB / 402.6 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1344, allocations: 0.4979 MB / 403.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1344, allocations: 8 kB / 403.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1344, allocations: 4 kB / 403.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1344, allocations: 0 / 403.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.136, allocations: 0.9408 MB / 404.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.136, allocations: 0 / 404.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.1364, allocations: 79.89 kB / 404.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.1366, allocations: 60.77 kB / 404.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.1366, allocations: 8 kB / 404.2 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.138, allocations: 1.618 MB / 405.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.138, allocations: 0 / 405.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.1394, allocations: 0.7407 MB / 406.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1395, allocations: 71.8 kB / 406.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.1396, allocations: 11.98 kB / 406.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1398, allocations: 23.98 kB / 406.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.1399, allocations: 28.5 kB / 406.7 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.1399, allocations: 16 kB / 406.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1401, allocations: 144.4 kB / 406.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1401, allocations: 3.938 kB / 406.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008328/0.1409, allocations: 255.2 kB / 407.1 MB, free: 2.508 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.0002153/0.1411, allocations: 146.4 kB / 407.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.1427, allocations: 0.8413 MB / 408.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1427, allocations: 1.375 kB / 408.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.1432, allocations: 321.4 kB / 408.4 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1436, allocations: 35.98 kB / 408.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.145, allocations: 0.8609 MB / 409.3 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1452, allocations: 217.8 kB / 409.5 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.1454, allocations: 66.98 kB / 409.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.1455, allocations: 36.48 kB / 409.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1455, allocations: 0 / 409.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Templates: time 0.009919/0.1555, allocations: 4.48 MB / 414.1 MB, free: 11.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.613989055971615]