Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001739/0.001739, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002032/0.002032, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.435/1.435, allocations: 177.1 MB / 204.7 MB, free: 8.973 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 57.08 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09512, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005155/0.1003, allocations: 3.401 MB / 382.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1027, allocations: 1.394 MB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1028, allocations: 8 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.1047, allocations: 0.7428 MB / 384.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000853/0.1055, allocations: 370 kB / 384.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1066, allocations: 0.5248 MB / 385.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.1071, allocations: 458 kB / 385.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005876/0.1077, allocations: 350.1 kB / 386.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.108, allocations: 215.2 kB / 386.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.1083, allocations: 235 kB / 386.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.1084, allocations: 44 kB / 386.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.1088, allocations: 199.8 kB / 386.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.1089, allocations: 111.6 kB / 386.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1091, allocations: 187 kB / 387.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.1099, allocations: 0.6966 MB / 387.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1099, allocations: 0 / 387.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1099, allocations: 0 / 387.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1099, allocations: 0 / 387.8 MB, free: 6.551 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00211/0.112, allocations: 0.8369 MB / 388.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1121, allocations: 19.92 kB / 388.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/0.1156, allocations: 468.1 kB / 389.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.116, allocations: 261.8 kB / 389.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.1161, allocations: 41.69 kB / 389.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.1162, allocations: 52.38 kB / 389.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009734/0.1171, allocations: 0.5393 MB / 390 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.1172, allocations: 4 kB / 390 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.1172, allocations: 27.94 kB / 390 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1172, allocations: 12 kB / 390 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1183, allocations: 0.5595 MB / 390.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.121, allocations: 1.501 MB / 392.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.1226, allocations: 0.5703 MB / 392.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.123, allocations: 190.2 kB / 392.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.123, allocations: 20.42 kB / 392.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1231, allocations: 39.06 kB / 392.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.1231, allocations: 0 / 392.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001977/0.1251, allocations: 0.7161 MB / 393.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1251, allocations: 59.89 kB / 393.7 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1253, allocations: 174.8 kB / 393.9 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.1253, allocations: 33.7 kB / 393.9 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1255, allocations: 229 kB / 394.1 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.1256, allocations: 166.6 kB / 394.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1258, allocations: 86.14 kB / 394.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1259, allocations: 338.8 kB / 394.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.1262, allocations: 152.9 kB / 394.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.1266, allocations: 220.3 kB / 395.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.1274, allocations: 408.7 kB / 395.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.1274, allocations: 4 kB / 395.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001082/0.1284, allocations: 0.5333 MB / 396 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1285, allocations: 6.656 kB / 396 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1285, allocations: 4 kB / 396 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/0.1288, allocations: 80.81 kB / 396.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.1292, allocations: 103.8 kB / 396.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.1314, allocations: 1.884 MB / 398.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.1316, allocations: 47.59 kB / 398.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.1317, allocations: 28.06 kB / 398.2 MB, free: 11.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.1319, allocations: 173.7 kB / 398.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.1319, allocations: 31.75 kB / 398.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.1331, allocations: 0.5441 MB / 398.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1331, allocations: 4 kB / 398.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1331, allocations: 0 / 398.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1331, allocations: 0 / 398.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.1348, allocations: 0.9722 MB / 399.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1348, allocations: 0 / 399.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.1351, allocations: 67.91 kB / 399.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.1354, allocations: 100.7 kB / 400 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.1354, allocations: 11.98 kB / 400 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.1374, allocations: 1.888 MB / 401.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1374, allocations: 0 / 401.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.1388, allocations: 0.7913 MB / 402.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.1389, allocations: 35.72 kB / 402.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.1389, allocations: 8.109 kB / 402.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.1392, allocations: 23.98 kB / 402.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.1393, allocations: 40.55 kB / 402.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.1393, allocations: 16 kB / 402.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1394, allocations: 127.2 kB / 403 MB, free: 6.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1394, allocations: 0 / 403 MB, free: 6.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005595/0.1399, allocations: 147.7 kB / 403.1 MB, free: 6.68 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002206/0.1402, allocations: 150.2 kB / 403.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1412, allocations: 0.5398 MB / 403.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1412, allocations: 3.938 kB / 403.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.1418, allocations: 365.6 kB / 404.2 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.1421, allocations: 38.94 kB / 404.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1434, allocations: 0.7987 MB / 405 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.1436, allocations: 208.7 kB / 405.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.1438, allocations: 42.97 kB / 405.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.1439, allocations: 36.48 kB / 405.3 MB, free: 4.438 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1439, allocations: 0 / 405.3 MB, free: 4.438 MB / 366.1 MB Notification: Performance of Templates: time 0.009399/0.1533, allocations: 4.295 MB / 409.6 MB, free: 188 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.338022892945446]