Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001299/0.001299, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001484/0.001484, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 63.91 kB / 347.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 49.15 MB / 396.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004293/0.2647, allocations: 3.422 MB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.2672, allocations: 1.386 MB / 401.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.2674, allocations: 9.156 kB / 401.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.2692, allocations: 0.698 MB / 401.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2702, allocations: 404.7 kB / 402.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2712, allocations: 0.5147 MB / 402.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.2717, allocations: 489.5 kB / 403.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005096/0.2722, allocations: 364.6 kB / 403.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.2725, allocations: 225.5 kB / 403.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.2728, allocations: 252.5 kB / 404.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.2728, allocations: 42.78 kB / 404.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.2733, allocations: 195.9 kB / 404.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.2733, allocations: 113.6 kB / 404.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.2735, allocations: 200.2 kB / 404.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.2743, allocations: 0.7093 MB / 405.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2743, allocations: 0 / 405.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2743, allocations: 4 kB / 405.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2743, allocations: 1.312 kB / 405.3 MB, free: 3.477 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00197/0.2763, allocations: 0.8699 MB / 406.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2763, allocations: 13.58 kB / 406.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2764, allocations: 101.9 kB / 406.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/0.2805, allocations: 0.595 MB / 406.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.281, allocations: 256.4 kB / 407.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.281, allocations: 41.41 kB / 407.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.2811, allocations: 70.66 kB / 407.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009481/0.2821, allocations: 0.5794 MB / 407.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2821, allocations: 1.375 kB / 407.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.2821, allocations: 29.5 kB / 407.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2821, allocations: 13.75 kB / 407.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2832, allocations: 0.6268 MB / 408.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.286, allocations: 1.666 MB / 410.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.2875, allocations: 0.6335 MB / 410.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.2878, allocations: 191 kB / 411 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/0.2879, allocations: 17.73 kB / 411 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.2879, allocations: 45.47 kB / 411.1 MB, free: 456 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.033e-06/0.2879, allocations: 0 / 411.1 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001699/0.2896, allocations: 0.7142 MB / 411.8 MB, free: 88 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2896, allocations: 63.19 kB / 411.8 MB, free: 20 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.2899, allocations: 203.6 kB / 412 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.2899, allocations: 35.89 kB / 412.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2901, allocations: 250.3 kB / 412.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.2902, allocations: 171.3 kB / 412.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.2904, allocations: 95.77 kB / 412.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2905, allocations: 341.3 kB / 412.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.2909, allocations: 163.8 kB / 413.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.2913, allocations: 276.9 kB / 413.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.2921, allocations: 458 kB / 413.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2921, allocations: 1.156 kB / 413.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00113/0.2932, allocations: 0.5925 MB / 414.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2932, allocations: 5.875 kB / 414.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2933, allocations: 4.062 kB / 414.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.2936, allocations: 84.34 kB / 414.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.294, allocations: 113.3 kB / 414.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.2963, allocations: 1.914 MB / 416.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.2966, allocations: 59.55 kB / 416.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.2967, allocations: 20.03 kB / 416.6 MB, free: 12.27 MB / 334.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 (58): * Single equations (assignments): 57 * 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.0002464/0.2969, allocations: 175.7 kB / 416.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.297, allocations: 36.91 kB / 416.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.2981, allocations: 0.5503 MB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2981, allocations: 5.406 kB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2982, allocations: 2.312 kB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2982, allocations: 3.984 kB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.2999, allocations: 1.053 MB / 418.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2999, allocations: 1.375 kB / 418.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.3002, allocations: 80.39 kB / 418.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/0.3005, allocations: 84.88 kB / 418.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.3005, allocations: 14.75 kB / 418.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.3027, allocations: 1.921 MB / 420.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3027, allocations: 0 / 420.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.3042, allocations: 0.8021 MB / 421.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.3042, allocations: 41.98 kB / 421.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.3043, allocations: 5.625 kB / 421.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.3045, allocations: 21.36 kB / 421.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.3046, allocations: 40.75 kB / 421.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3046, allocations: 18.08 kB / 421.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3048, allocations: 144 kB / 421.6 MB, free: 8.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3048, allocations: 0 / 421.6 MB, free: 8.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006472/0.3054, allocations: 161.4 kB / 421.7 MB, free: 8.488 MB / 334.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 (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,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.001865/0.3073, allocations: 1.367 MB / 423.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3085, allocations: 0.5664 MB / 423.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3085, allocations: 4.188 kB / 423.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.3091, allocations: 365.8 kB / 424 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3095, allocations: 35.88 kB / 424.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.315, allocations: 3.628 MB / 427.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3153, allocations: 221.8 kB / 427.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.3155, allocations: 47.27 kB / 427.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.3157, allocations: 147.4 kB / 428.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3157, allocations: 4 kB / 428.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.3588, allocations: 8.571 MB / 436.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.09, allocations: 4 kB / 436.7 MB, free: 9.848 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.347399631049484]