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.00152/0.00152, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001888/0.001888, allocations: 209.7 kB / 24.49 MB, free: 3.969 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.001564/0.001564, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2208, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00542/0.2262, allocations: 3.646 MB / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.229, allocations: 1.538 MB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.2292, allocations: 12 kB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.2311, allocations: 0.7272 MB / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008576/0.2319, allocations: 362 kB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.2332, allocations: 0.6336 MB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.2338, allocations: 0.5292 MB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006842/0.2345, allocations: 472.2 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.2348, allocations: 243.1 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.2352, allocations: 298.8 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/0.2353, allocations: 52 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.2357, allocations: 243.8 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2358, allocations: 123.6 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.236, allocations: 222.8 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009247/0.2369, allocations: 0.8163 MB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2369, allocations: 0 / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2369, allocations: 0 / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2369, allocations: 4 kB / 442.2 MB, free: 12.84 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.00217/0.2391, allocations: 0.8873 MB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2391, allocations: 8.031 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.2421, allocations: 400.1 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.2427, allocations: 299.6 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.2428, allocations: 45.69 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2429, allocations: 63.94 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2441, allocations: 0.6817 MB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2441, allocations: 4 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.2442, allocations: 28 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.2442, allocations: 19.94 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2454, allocations: 0.5673 MB / 445.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.2484, allocations: 1.745 MB / 446.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.2498, allocations: 483.9 kB / 447.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.2502, allocations: 176.7 kB / 447.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.063e-05/0.2503, allocations: 15.98 kB / 447.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.2503, allocations: 38.56 kB / 447.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.2504, allocations: 0 / 447.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001709/0.2521, allocations: 0.5956 MB / 448.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.2521, allocations: 63.39 kB / 448.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2523, allocations: 196.1 kB / 448.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.2523, allocations: 33.7 kB / 448.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.2525, allocations: 268.9 kB / 448.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2527, allocations: 150.7 kB / 448.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2528, allocations: 90.14 kB / 449 MB, free: 5.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.253, allocations: 330.8 kB / 449.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.2533, allocations: 154.8 kB / 449.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.2538, allocations: 264.1 kB / 449.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.2546, allocations: 437.7 kB / 450.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2546, allocations: 0 / 450.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001137/0.2558, allocations: 0.5179 MB / 450.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2558, allocations: 11.98 kB / 450.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2558, allocations: 4 kB / 450.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.256, allocations: 48.83 kB / 450.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.2565, allocations: 104.1 kB / 450.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.2581, allocations: 1.629 MB / 452.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.2585, allocations: 59.58 kB / 452.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.2585, allocations: 16 kB / 452.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004562/0.259, allocations: 273.1 kB / 452.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004132/0.2594, allocations: 252.9 kB / 453.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007638/0.2601, allocations: 423.6 kB / 453.5 MB, free: 1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.2601, allocations: 4 kB / 453.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001058/0.2612, allocations: 0.5013 MB / 454 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.2612, allocations: 8 kB / 454 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2612, allocations: 0 / 454 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.2614, allocations: 57.2 kB / 454.1 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.2618, allocations: 111.8 kB / 454.2 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.2634, allocations: 1.607 MB / 455.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.2637, allocations: 47.72 kB / 455.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.2637, allocations: 23.94 kB / 455.8 MB, free: 14.54 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.0001662/0.2639, allocations: 216.1 kB / 456.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.264, allocations: 27.86 kB / 456.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.2652, allocations: 0.4923 MB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2652, allocations: 0 / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2652, allocations: 3.984 kB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2653, allocations: 63.7 kB / 456.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.2653, allocations: 7.984 kB / 456.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.2656, allocations: 19.98 kB / 456.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.2657, allocations: 44.25 kB / 456.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001298/0.267, allocations: 0.516 MB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001452/0.2685, allocations: 0.7399 MB / 458 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003721/0.2688, allocations: 155.4 kB / 458.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.269, allocations: 135.4 kB / 458.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Backend: time 3.4e-07/0.269, allocations: 0 / 458.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.2709, allocations: 0.8783 MB / 459.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 0.001563/0.2725, allocations: 1.248 MB / 460.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of Templates: time 0.0168/0.2893, allocations: 9.553 MB / 469.9 MB, free: 416 kB / 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: 4.61805602399545]