Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001889/0.001889, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002258/0.002258, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 43.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2656, allocations: 53.37 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005998/0.2716, allocations: 3.748 MB / 434.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.2747, allocations: 1.515 MB / 436.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.2753, allocations: 8 kB / 436.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.2775, allocations: 0.7506 MB / 437.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.2788, allocations: 409.4 kB / 437.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2801, allocations: 0.5543 MB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007461/0.2808, allocations: 458 kB / 438.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.2816, allocations: 361.5 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.2821, allocations: 207.3 kB / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.2826, allocations: 270.9 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2827, allocations: 40 kB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.2833, allocations: 215.8 kB / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2834, allocations: 107.6 kB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.2837, allocations: 234.8 kB / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.2847, allocations: 0.6859 MB / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2847, allocations: 4 kB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2847, allocations: 0 / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.2847, allocations: 0 / 440.7 MB, free: 13.3 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.00213/0.2868, allocations: 0.8408 MB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2868, allocations: 12.03 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.287, allocations: 95.97 kB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.2904, allocations: 472.2 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.2909, allocations: 249.8 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.291, allocations: 53.62 kB / 442.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.2911, allocations: 60.27 kB / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009598/0.292, allocations: 0.5179 MB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.292, allocations: 0 / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.2921, allocations: 20 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.2921, allocations: 19.98 kB / 443 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2932, allocations: 0.5712 MB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.2962, allocations: 1.725 MB / 445.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.2978, allocations: 0.5745 MB / 445.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.2981, allocations: 188.7 kB / 446 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/0.2982, allocations: 24.41 kB / 446.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2982, allocations: 39 kB / 446.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.854e-06/0.2982, allocations: 0 / 446.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002/0.3002, allocations: 0.7143 MB / 446.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3003, allocations: 59.78 kB / 446.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3005, allocations: 190.2 kB / 447.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3005, allocations: 29.7 kB / 447.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3007, allocations: 221 kB / 447.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.3008, allocations: 178.5 kB / 447.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.301, allocations: 78.19 kB / 447.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3011, allocations: 342.8 kB / 447.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.3014, allocations: 148.9 kB / 448 MB, free: 5.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.3018, allocations: 224.2 kB / 448.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.3025, allocations: 407.4 kB / 448.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3025, allocations: 4 kB / 448.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00109/0.3036, allocations: 0.5318 MB / 449.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3036, allocations: 12 kB / 449.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3036, allocations: 3.984 kB / 449.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.304, allocations: 84.81 kB / 449.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.3044, allocations: 91.88 kB / 449.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.3067, allocations: 1.938 MB / 451.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.3069, allocations: 47.66 kB / 451.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.307, allocations: 19.94 kB / 451.4 MB, free: 2.188 MB / 350.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.0002259/0.3072, allocations: 165.7 kB / 451.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.3073, allocations: 27.81 kB / 451.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3084, allocations: 0.5435 MB / 452.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3084, allocations: 4 kB / 452.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3084, allocations: 4 kB / 452.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3084, allocations: 7.875 kB / 452.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.3102, allocations: 1.107 MB / 453.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3102, allocations: 0 / 453.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.3106, allocations: 71.91 kB / 453.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.3109, allocations: 88.8 kB / 453.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.3109, allocations: 12 kB / 453.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.3131, allocations: 1.946 MB / 455.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3131, allocations: 0 / 455.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3145, allocations: 0.7971 MB / 456.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.3145, allocations: 35.77 kB / 456.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3146, allocations: 4 kB / 456.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3148, allocations: 24.05 kB / 456.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.3149, allocations: 36.36 kB / 456.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.3149, allocations: 16 kB / 456.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.315, allocations: 136.2 kB / 456.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.315, allocations: 0 / 456.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000609/0.3157, allocations: 147.7 kB / 456.5 MB, free: 12.82 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.00187/0.3175, allocations: 1.374 MB / 457.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3186, allocations: 0.5463 MB / 458.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3186, allocations: 0 / 458.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.3192, allocations: 357 kB / 458.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3196, allocations: 36.38 kB / 458.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.3248, allocations: 3.409 MB / 462.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.3253, allocations: 0.8084 MB / 463.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.3254, allocations: 46.95 kB / 463.1 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.3256, allocations: 139.4 kB / 463.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3256, allocations: 8 kB / 463.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/0.3679, allocations: 8.113 MB / 471.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.46, allocations: 10.41 kB / 471.4 MB, free: 13.92 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 14.91180545091629]