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.001769/0.001769, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002097/0.002097, allocations: 183.8 kB / 23.72 MB, free: 4.699 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.396/1.396, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 47.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2628, allocations: 52.17 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005101/0.2679, allocations: 3.739 MB / 426.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2703, allocations: 1.444 MB / 427.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.2705, allocations: 8 kB / 427.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.2723, allocations: 0.77 MB / 428.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2734, allocations: 0.5392 MB / 429.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.2743, allocations: 433.6 kB / 429.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.2748, allocations: 462 kB / 430 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.2754, allocations: 357.4 kB / 430.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.2757, allocations: 211.3 kB / 430.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.2761, allocations: 270.9 kB / 430.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.2761, allocations: 40 kB / 430.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.2765, allocations: 203.8 kB / 431.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.2766, allocations: 99.67 kB / 431.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2769, allocations: 238.8 kB / 431.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.2778, allocations: 0.6781 MB / 432.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2778, allocations: 0 / 432.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.9e-06/0.2778, allocations: 7.922 kB / 432.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2778, allocations: 0 / 432.1 MB, free: 5.141 MB / 334.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.002128/0.2799, allocations: 0.8438 MB / 432.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.28, allocations: 15.97 kB / 432.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.2801, allocations: 96.02 kB / 433 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/0.2834, allocations: 0.4884 MB / 433.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.2839, allocations: 249.8 kB / 433.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.284, allocations: 37.69 kB / 433.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.2841, allocations: 56.38 kB / 433.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.2851, allocations: 0.514 MB / 434.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.2852, allocations: 4 kB / 434.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.2852, allocations: 20 kB / 434.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.2852, allocations: 12 kB / 434.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2863, allocations: 0.5712 MB / 435 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.2892, allocations: 1.721 MB / 436.7 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.2907, allocations: 0.5593 MB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.291, allocations: 194.1 kB / 437.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/0.2911, allocations: 8.438 kB / 437.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2911, allocations: 38.94 kB / 437.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.003e-06/0.2911, allocations: 0 / 437.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001885/0.293, allocations: 0.7142 MB / 438.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.2931, allocations: 55.84 kB / 438.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.2933, allocations: 190.2 kB / 438.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.2933, allocations: 29.7 kB / 438.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.2934, allocations: 236.9 kB / 438.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.2936, allocations: 162.6 kB / 438.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.2937, allocations: 90.12 kB / 438.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2939, allocations: 330.8 kB / 439.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.2942, allocations: 156.9 kB / 439.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.2946, allocations: 224.2 kB / 439.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.2953, allocations: 403.4 kB / 440 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2953, allocations: 0 / 440 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001008/0.2963, allocations: 0.5241 MB / 440.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2963, allocations: 4 kB / 440.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2963, allocations: 4 kB / 440.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.2967, allocations: 92.73 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.2971, allocations: 91.89 kB / 440.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.2993, allocations: 1.949 MB / 442.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.2995, allocations: 51.66 kB / 442.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.2996, allocations: 19.94 kB / 442.8 MB, free: 10.04 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.0002123/0.2998, allocations: 173.8 kB / 442.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.2998, allocations: 23.86 kB / 443 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.301, allocations: 0.5471 MB / 443.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.301, allocations: 8 kB / 443.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.301, allocations: 0 / 443.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.301, allocations: 3.938 kB / 443.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3027, allocations: 1.091 MB / 444.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3027, allocations: 0 / 444.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.303, allocations: 79.89 kB / 444.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.3033, allocations: 84.81 kB / 444.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.3034, allocations: 8 kB / 444.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.3054, allocations: 1.943 MB / 446.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3054, allocations: 4.031 kB / 446.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.3068, allocations: 0.7933 MB / 447.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3068, allocations: 31.72 kB / 447.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3068, allocations: 12 kB / 447.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.3071, allocations: 20.05 kB / 447.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.3072, allocations: 36.38 kB / 447.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.3072, allocations: 11.98 kB / 447.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.3073, allocations: 148.2 kB / 447.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3073, allocations: 0 / 447.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005864/0.3079, allocations: 147.7 kB / 447.9 MB, free: 4.676 MB / 350.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.001779/0.3097, allocations: 1.366 MB / 449.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3108, allocations: 0.5424 MB / 449.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3108, allocations: 0 / 449.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.3113, allocations: 353.4 kB / 450.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3117, allocations: 32 kB / 450.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/0.3165, allocations: 3.402 MB / 453.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.3169, allocations: 0.8084 MB / 454.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.3171, allocations: 46.95 kB / 454.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.3173, allocations: 135.4 kB / 454.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3173, allocations: 96 / 454.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04955/0.3668, allocations: 8.021 MB / 462.6 MB, free: 5.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.11, allocations: 3.797 kB / 462.6 MB, free: 5.914 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.458208663854748]