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.001345/0.001345, allocations: 108.2 kB / 21.18 MB, free: 0.7188 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.001424/0.001424, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.382/1.382, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.00199/0.00199, allocations: 52.3 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2832, allocations: 49.16 MB / 396.3 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004187/0.2873, allocations: 3.788 MB / 400.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2898, allocations: 1.479 MB / 401.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.29, allocations: 9.125 kB / 401.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.2918, allocations: 0.7659 MB / 402.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.2929, allocations: 412.6 kB / 402.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.294, allocations: 0.5474 MB / 403.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.2945, allocations: 492.5 kB / 403.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.2952, allocations: 382.3 kB / 404.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.2956, allocations: 223.5 kB / 404.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.296, allocations: 281 kB / 404.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.296, allocations: 43.78 kB / 404.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.2966, allocations: 207.7 kB / 404.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.2966, allocations: 114.4 kB / 405 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.2968, allocations: 245.8 kB / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2978, allocations: 0.7077 MB / 406 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.2979, allocations: 0 / 406 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2979, allocations: 1.219 kB / 406 MB, free: 3.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2979, allocations: 4 kB / 406 MB, free: 3.086 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.002203/0.3001, allocations: 0.8672 MB / 406.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.3001, allocations: 13.05 kB / 406.9 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.3003, allocations: 104.9 kB / 407 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.3044, allocations: 0.5878 MB / 407.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.3049, allocations: 265 kB / 407.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.3049, allocations: 44.72 kB / 407.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.305, allocations: 64.73 kB / 407.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.306, allocations: 0.5563 MB / 408.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.306, allocations: 5.375 kB / 408.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.3061, allocations: 20.83 kB / 408.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3061, allocations: 13.75 kB / 408.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.3072, allocations: 0.6385 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.3101, allocations: 1.81 MB / 411 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3116, allocations: 0.6461 MB / 411.6 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.312, allocations: 187.5 kB / 411.8 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.312, allocations: 16.33 kB / 411.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3121, allocations: 42.84 kB / 411.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.435e-06/0.3121, allocations: 0 / 411.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001994/0.3141, allocations: 0.7134 MB / 412.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3141, allocations: 60.44 kB / 412.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3144, allocations: 204.7 kB / 412.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.3144, allocations: 40.08 kB / 412.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3146, allocations: 250.3 kB / 413.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.3148, allocations: 174.6 kB / 413.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.3149, allocations: 97.11 kB / 413.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3151, allocations: 336 kB / 413.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.3154, allocations: 160.6 kB / 413.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.3158, allocations: 274 kB / 414.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.3166, allocations: 466.7 kB / 414.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3166, allocations: 1.406 kB / 414.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001152/0.3177, allocations: 0.58 MB / 415.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3178, allocations: 6.625 kB / 415.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3178, allocations: 3.156 kB / 415.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.3182, allocations: 97.72 kB / 415.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.3186, allocations: 104.7 kB / 415.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.321, allocations: 1.95 MB / 417.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.3213, allocations: 55.55 kB / 417.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.3214, allocations: 20.67 kB / 417.4 MB, free: 11.74 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.0002719/0.3216, allocations: 172.2 kB / 417.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.3217, allocations: 28.23 kB / 417.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.323, allocations: 0.5499 MB / 418.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.323, allocations: 8.734 kB / 418.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.323, allocations: 2.25 kB / 418.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.323, allocations: 7.984 kB / 418.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.3248, allocations: 1.102 MB / 419.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3248, allocations: 0 / 419.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.3251, allocations: 89.23 kB / 419.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/0.3254, allocations: 88.66 kB / 419.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.3254, allocations: 12.12 kB / 419.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.3276, allocations: 1.929 MB / 421.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3276, allocations: 5.469 kB / 421.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.329, allocations: 0.8037 MB / 422.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.329, allocations: 33.69 kB / 422.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.3291, allocations: 15.23 kB / 422.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3293, allocations: 12.16 kB / 422.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.3294, allocations: 45.52 kB / 422.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3294, allocations: 13.91 kB / 422.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3296, allocations: 146.1 kB / 422.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3296, allocations: 1.469 kB / 422.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006421/0.3302, allocations: 156.6 kB / 422.6 MB, free: 7.891 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.001831/0.332, allocations: 1.374 MB / 424 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.3333, allocations: 0.567 MB / 424.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3333, allocations: 0 / 424.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.3339, allocations: 371.2 kB / 424.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3343, allocations: 36.06 kB / 424.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.3398, allocations: 3.628 MB / 428.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.3402, allocations: 0.8172 MB / 429.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.3404, allocations: 51.27 kB / 429.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.3406, allocations: 151.4 kB / 429.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3406, allocations: 0 / 429.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/0.3852, allocations: 8.347 MB / 437.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.31, allocations: 0.9375 kB / 437.9 MB, free: 8.953 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.62469372083433]