Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001679/0.001679, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 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.001981/0.001981, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 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 1.446/1.446, allocations: 225.6 MB / 249.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.92 kB / 366.8 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09805/0.09961, allocations: 52.14 MB / 419 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00523/0.1048, allocations: 3.714 MB / 422.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1074, allocations: 1.429 MB / 424.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1075, allocations: 12 kB / 424.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.1094, allocations: 0.7611 MB / 424.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.1106, allocations: 0.5439 MB / 425.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008551/0.1114, allocations: 423.8 kB / 425.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000519/0.1119, allocations: 462 kB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005416/0.1125, allocations: 301.9 kB / 426.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1128, allocations: 207.2 kB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.1131, allocations: 267 kB / 427 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.1132, allocations: 44 kB / 427.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.1136, allocations: 199.8 kB / 427.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.1137, allocations: 107.6 kB / 427.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1139, allocations: 238.8 kB / 427.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.1148, allocations: 0.6771 MB / 428.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1148, allocations: 0 / 428.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1148, allocations: 4 kB / 428.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1148, allocations: 0 / 428.3 MB, free: 2.75 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.002208/0.117, allocations: 0.9044 MB / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1171, allocations: 19.88 kB / 429.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.1208, allocations: 496.1 kB / 429.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1213, allocations: 307.7 kB / 430 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.1213, allocations: 41.69 kB / 430 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.1214, allocations: 60.33 kB / 430.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1224, allocations: 0.5103 MB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.1225, allocations: 7.938 kB / 430.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.1225, allocations: 24 kB / 430.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.1225, allocations: 12 kB / 430.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1236, allocations: 0.5596 MB / 431.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.1266, allocations: 1.858 MB / 433.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.1289, allocations: 2.143 MB / 435.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.1293, allocations: 184.3 kB / 435.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.1294, allocations: 97.53 kB / 435.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1295, allocations: 35 kB / 435.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 1.843e-06/0.1295, allocations: 0 / 435.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002086/0.1315, allocations: 0.7895 MB / 436.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1316, allocations: 55.84 kB / 436.4 MB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1318, allocations: 186.4 kB / 436.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1318, allocations: 29.7 kB / 436.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.132, allocations: 224.9 kB / 436.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.1321, allocations: 178.5 kB / 437 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1322, allocations: 78.25 kB / 437 MB, free: 9.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1324, allocations: 346.8 kB / 437.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.1327, allocations: 145.1 kB / 437.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.1331, allocations: 228.8 kB / 437.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.1338, allocations: 403.4 kB / 438.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1338, allocations: 0 / 438.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001133/0.1349, allocations: 0.528 MB / 438.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.135, allocations: 4 kB / 438.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.135, allocations: 4 kB / 438.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.1353, allocations: 88.8 kB / 438.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.1357, allocations: 91.83 kB / 438.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.1381, allocations: 2.045 MB / 440.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.1383, allocations: 51.66 kB / 441 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1384, allocations: 16 kB / 441 MB, free: 5.172 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.0002315/0.1386, allocations: 169.7 kB / 441.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.1387, allocations: 23.86 kB / 441.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1399, allocations: 0.5473 MB / 441.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1399, allocations: 8.188 kB / 441.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1399, allocations: 4 kB / 441.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1399, allocations: 11.86 kB / 441.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.1417, allocations: 1.123 MB / 442.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.1417, allocations: 3.938 kB / 442.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.1421, allocations: 71.91 kB / 442.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/0.1424, allocations: 92.73 kB / 443 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1424, allocations: 12 kB / 443 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.1446, allocations: 2.03 MB / 445.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1446, allocations: 0 / 445.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1461, allocations: 0.7933 MB / 445.9 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1806/0.3267, allocations: 112.9 kB / 446 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/0.3268, allocations: 8.344 kB / 446 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.327, allocations: 18.7 kB / 446 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3271, allocations: 36.12 kB / 446 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.3272, allocations: 13.97 kB / 446 MB, free: 30.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.3273, allocations: 134.4 kB / 446.2 MB, free: 30.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3273, allocations: 2.25 kB / 446.2 MB, free: 30.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007001/0.328, allocations: 150.3 kB / 446.3 MB, free: 30.18 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.0002159/0.3282, allocations: 135.9 kB / 446.5 MB, free: 30.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009551/0.3291, allocations: 0.5409 MB / 447 MB, free: 29.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3291, allocations: 3.062 kB / 447 MB, free: 29.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.3296, allocations: 355.5 kB / 447.3 MB, free: 29.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3299, allocations: 28.44 kB / 447.4 MB, free: 29.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3311, allocations: 0.8493 MB / 448.2 MB, free: 29.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3313, allocations: 0.8066 MB / 449 MB, free: 28.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3314, allocations: 35.48 kB / 449.1 MB, free: 28.81 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3314, allocations: 2.625 kB / 449.1 MB, free: 28.81 MB / 366.1 MB Notification: Performance of Templates: time 0.01003/0.3415, allocations: 6.321 MB / 455.4 MB, free: 28.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.5752149960026145]