Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001288/0.001288, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001398/0.001398, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.801 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005041/0.2686, allocations: 3.407 MB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.2712, allocations: 1.382 MB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.2714, allocations: 12 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.2731, allocations: 0.7 MB / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009052/0.274, allocations: 386.1 kB / 437 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.275, allocations: 0.5128 MB / 437.5 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.2756, allocations: 465.9 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.2763, allocations: 434 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.2766, allocations: 223.2 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.2769, allocations: 282.9 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.277, allocations: 44 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.2774, allocations: 211.8 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2775, allocations: 107.6 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2777, allocations: 195.1 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008825/0.2786, allocations: 0.7005 MB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2786, allocations: 3.938 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2786, allocations: 0 / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.2786, allocations: 0 / 440.1 MB, free: 13.59 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.002205/0.2808, allocations: 0.8551 MB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2809, allocations: 12.03 kB / 441 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.281, allocations: 107.9 kB / 441.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.2845, allocations: 480.2 kB / 441.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.2851, allocations: 245.9 kB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.2851, allocations: 41.69 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.223e-05/0.2852, allocations: 56.33 kB / 441.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2862, allocations: 0.5665 MB / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.2863, allocations: 0 / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.2863, allocations: 20 kB / 442.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2863, allocations: 16 kB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2874, allocations: 0.5712 MB / 443 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.2905, allocations: 1.595 MB / 444.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.2921, allocations: 0.554 MB / 445.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.2926, allocations: 234 kB / 445.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/0.2926, allocations: 16.42 kB / 445.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.2927, allocations: 39 kB / 445.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.865e-06/0.2927, allocations: 0 / 445.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001849/0.2945, allocations: 0.6674 MB / 446.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.2946, allocations: 59.84 kB / 446.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2948, allocations: 186.2 kB / 446.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.2948, allocations: 33.7 kB / 446.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.295, allocations: 225 kB / 446.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.2951, allocations: 174.5 kB / 446.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.2953, allocations: 82.14 kB / 446.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2955, allocations: 346.8 kB / 447.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.2958, allocations: 152.9 kB / 447.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.2962, allocations: 233.9 kB / 447.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.2969, allocations: 420.9 kB / 448 MB, free: 5.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2969, allocations: 0 / 448 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001058/0.2979, allocations: 0.5358 MB / 448.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.298, allocations: 4 kB / 448.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.298, allocations: 7.938 kB / 448.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.2983, allocations: 76.8 kB / 448.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.2987, allocations: 99.89 kB / 448.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.3007, allocations: 1.663 MB / 450.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.301, allocations: 51.61 kB / 450.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.301, allocations: 20 kB / 450.5 MB, free: 2.801 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.3012, allocations: 169.8 kB / 450.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.3013, allocations: 23.86 kB / 450.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.3025, allocations: 0.5316 MB / 451.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3025, allocations: 4 kB / 451.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3025, allocations: 3.938 kB / 451.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3025, allocations: 0 / 451.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.3043, allocations: 1.073 MB / 452.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3043, allocations: 3.938 kB / 452.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.3046, allocations: 83.89 kB / 452.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.3049, allocations: 76.88 kB / 452.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.3049, allocations: 15.98 kB / 452.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.3067, allocations: 1.65 MB / 454.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3067, allocations: 0 / 454.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.3081, allocations: 0.7952 MB / 454.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.3082, allocations: 39.72 kB / 454.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.3082, allocations: 8 kB / 454.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.3084, allocations: 23.92 kB / 455 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.3085, allocations: 44.36 kB / 455 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.3086, allocations: 16 kB / 455 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3087, allocations: 128.2 kB / 455.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 0 / 455.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.3093, allocations: 159.6 kB / 455.3 MB, free: 13.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/0.3111, allocations: 1.375 MB / 456.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3122, allocations: 0.5425 MB / 457.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3122, allocations: 4 kB / 457.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.3128, allocations: 365.5 kB / 457.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.3132, allocations: 42.86 kB / 457.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.3181, allocations: 3.456 MB / 461.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3183, allocations: 204.8 kB / 461.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.3185, allocations: 46.95 kB / 461.3 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3187, allocations: 135.4 kB / 461.5 MB, free: 7.363 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.3187, allocations: 4 kB / 461.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05806/0.3768, allocations: 8.564 MB / 470 MB, free: 14.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.58, allocations: 7.984 kB / 470 MB, free: 14.96 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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: 13.848271516995737]