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.00476/0.00476, allocations: 100.3 kB / 21.96 MB, free: 5.207 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.001292/0.001292, allocations: 214 kB / 25.25 MB, free: 3.141 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.348/1.348, allocations: 207.7 MB / 236.1 MB, free: 9.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="cs",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.001953/0.001953, allocations: 54.58 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.255, allocations: 49.15 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.0046/0.2596, allocations: 3.424 MB / 400.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.262, allocations: 1.371 MB / 401.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.2622, allocations: 9.719 kB / 401.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.2639, allocations: 0.706 MB / 402.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.2648, allocations: 404.1 kB / 403 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/0.2657, allocations: 0.5178 MB / 403.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.2661, allocations: 0.4893 MB / 404 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.2667, allocations: 369.3 kB / 404.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.267, allocations: 215.7 kB / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.2673, allocations: 281.7 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.2673, allocations: 43.75 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.2678, allocations: 204.6 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.2678, allocations: 118.3 kB / 405.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.268, allocations: 202.3 kB / 405.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008194/0.2688, allocations: 0.7079 MB / 406.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2688, allocations: 0 / 406.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2688, allocations: 4 kB / 406.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.2688, allocations: 0 / 406.2 MB, free: 3.453 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.002011/0.2708, allocations: 0.8707 MB / 407 MB, free: 2.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2709, allocations: 14.14 kB / 407 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.32e-05/0.2709, allocations: 17.38 kB / 407.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.2711, allocations: 106.5 kB / 407.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.2751, allocations: 0.5843 MB / 407.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.2756, allocations: 267.6 kB / 408 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.2757, allocations: 46.06 kB / 408 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2758, allocations: 62.06 kB / 408.1 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2768, allocations: 0.5842 MB / 408.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.2768, allocations: 5.375 kB / 408.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.2768, allocations: 26.25 kB / 408.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.2769, allocations: 13.75 kB / 408.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2779, allocations: 0.642 MB / 409.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.2806, allocations: 1.682 MB / 411.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.2822, allocations: 0.6459 MB / 411.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.2825, allocations: 214 kB / 411.9 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.2825, allocations: 13.64 kB / 411.9 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.2825, allocations: 46.66 kB / 412 MB, free: 400 kB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 1.924e-06/0.2825, allocations: 0 / 412 MB, free: 400 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.004386/0.2869, allocations: 1.815 MB / 413.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.287, allocations: 62.69 kB / 413.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.2872, allocations: 200.4 kB / 414 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.2873, allocations: 36.77 kB / 414.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2874, allocations: 247 kB / 414.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.2876, allocations: 236.6 kB / 414.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.2878, allocations: 117.7 kB / 414.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.288, allocations: 346.6 kB / 415 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.2885, allocations: 230.7 kB / 415.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.2891, allocations: 360.2 kB / 415.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.2902, allocations: 0.6051 MB / 416.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2902, allocations: 1.5 kB / 416.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001696/0.2919, allocations: 0.8345 MB / 417 MB, free: 13.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2919, allocations: 5.938 kB / 417 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2919, allocations: 3.312 kB / 417 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.2925, allocations: 188 kB / 417.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.293, allocations: 127.9 kB / 417.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.2973, allocations: 3.913 MB / 421.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.2978, allocations: 34.27 kB / 421.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.2978, allocations: 26.36 kB / 421.3 MB, free: 9.363 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.2981, allocations: 178.5 kB / 421.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.2982, allocations: 36.05 kB / 421.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.2999, allocations: 0.809 MB / 422.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2999, allocations: 7.156 kB / 422.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.2999, allocations: 6.844 kB / 422.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.3, allocations: 5.453 kB / 422.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.3026, allocations: 1.448 MB / 423.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3026, allocations: 0 / 423.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.303, allocations: 100.5 kB / 423.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/0.3035, allocations: 173.9 kB / 424.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.3036, allocations: 12 kB / 424.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/0.3074, allocations: 3.648 MB / 427.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3074, allocations: 0 / 427.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.3096, allocations: 1.152 MB / 428.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.3097, allocations: 31.84 kB / 428.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.3097, allocations: 15.92 kB / 428.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.31, allocations: 27.98 kB / 429 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3102, allocations: 52.55 kB / 429 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.3102, allocations: 16 kB / 429 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.3104, allocations: 152.3 kB / 429.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3104, allocations: 0 / 429.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007538/0.3111, allocations: 160 kB / 429.3 MB, free: 2.023 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (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.002601/0.3137, allocations: 1.728 MB / 431.1 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3156, allocations: 0.9009 MB / 432 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3156, allocations: 4 kB / 432 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.3166, allocations: 0.603 MB / 432.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3171, allocations: 39.94 kB / 432.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.3243, allocations: 4.427 MB / 437 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3246, allocations: 234.6 kB / 437.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.3249, allocations: 63.38 kB / 437.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.3251, allocations: 163.4 kB / 437.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3251, allocations: 0 / 437.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04366/0.3688, allocations: 10.93 MB / 448.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.26, allocations: 4.062 kB / 448.4 MB, free: 14.59 MB / 366.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.569422262022272]