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.004557/0.004557, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001323/0.001323, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.347/1.347, allocations: 207.6 MB / 236 MB, free: 9.988 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.001654/0.001654, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2506, allocations: 49.15 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00417/0.2548, allocations: 3.782 MB / 400.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2571, allocations: 1.483 MB / 402.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2573, allocations: 13.09 kB / 402.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2589, allocations: 0.7658 MB / 403.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009019/0.2598, allocations: 407.8 kB / 403.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.2607, allocations: 0.5638 MB / 404.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.2612, allocations: 488.3 kB / 404.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.2617, allocations: 371.1 kB / 405 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.262, allocations: 231.9 kB / 405.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.2623, allocations: 278.5 kB / 405.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.2624, allocations: 42.69 kB / 405.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.2628, allocations: 210.2 kB / 405.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.2628, allocations: 108.8 kB / 405.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.263, allocations: 255 kB / 406.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007461/0.2638, allocations: 0.7001 MB / 406.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2638, allocations: 1.625 kB / 406.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2638, allocations: 0 / 406.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2638, allocations: 0 / 406.8 MB, free: 2.898 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.001919/0.2657, allocations: 0.8747 MB / 407.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2657, allocations: 13.17 kB / 407.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.968e-05/0.2658, allocations: 17.12 kB / 407.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.2659, allocations: 105.4 kB / 407.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.2698, allocations: 0.5894 MB / 408.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.2703, allocations: 263.3 kB / 408.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.2703, allocations: 45.06 kB / 408.7 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.2704, allocations: 62.44 kB / 408.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009378/0.2713, allocations: 0.5641 MB / 409.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2713, allocations: 0.5156 kB / 409.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.2714, allocations: 24.88 kB / 409.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.2714, allocations: 18.22 kB / 409.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2724, allocations: 0.6392 MB / 410 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.275, allocations: 1.831 MB / 411.8 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.2767, allocations: 0.6623 MB / 412.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.277, allocations: 208.7 kB / 412.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.2771, allocations: 13.61 kB / 412.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.2771, allocations: 41.16 kB / 412.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.245e-06/0.2771, allocations: 4 kB / 412.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.004372/0.2815, allocations: 1.815 MB / 414.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2815, allocations: 62.66 kB / 414.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.2818, allocations: 204.2 kB / 414.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.2818, allocations: 37.52 kB / 414.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.282, allocations: 245.6 kB / 415.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.2821, allocations: 237.3 kB / 415.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.2823, allocations: 117.4 kB / 415.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2825, allocations: 341.2 kB / 415.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.2829, allocations: 235.6 kB / 416 MB, free: 13.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.2835, allocations: 357.4 kB / 416.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.2845, allocations: 0.615 MB / 417 MB, free: 12.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2845, allocations: 1.062 kB / 417 MB, free: 12.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001671/0.2862, allocations: 0.8188 MB / 417.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2862, allocations: 5.969 kB / 417.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2862, allocations: 7.188 kB / 417.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.2869, allocations: 192.4 kB / 418 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.2874, allocations: 127.5 kB / 418.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004693/0.2921, allocations: 3.948 MB / 422.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.2926, allocations: 33.2 kB / 422.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.2927, allocations: 23.38 kB / 422.1 MB, free: 8.66 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.0003253/0.293, allocations: 182.1 kB / 422.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2931, allocations: 35.98 kB / 422.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.2949, allocations: 0.8082 MB / 423.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2949, allocations: 7.094 kB / 423.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2949, allocations: 11.09 kB / 423.2 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2949, allocations: 3.984 kB / 423.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.2977, allocations: 1.531 MB / 424.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2977, allocations: 1.438 kB / 424.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.2982, allocations: 103.6 kB / 424.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/0.2987, allocations: 178.2 kB / 425 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.2988, allocations: 13.44 kB / 425 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.3027, allocations: 3.663 MB / 428.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3028, allocations: 8 kB / 428.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.305, allocations: 1.152 MB / 429.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3052, allocations: 27.84 kB / 429.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.3052, allocations: 15.94 kB / 429.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.3055, allocations: 31.97 kB / 429.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3057, allocations: 52.62 kB / 429.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.3057, allocations: 19.98 kB / 429.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3059, allocations: 148.3 kB / 430.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3059, allocations: 0 / 430.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008111/0.3067, allocations: 163.9 kB / 430.3 MB, free: 1.285 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.002751/0.3094, allocations: 1.732 MB / 432 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.3114, allocations: 0.897 MB / 432.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3114, allocations: 3.938 kB / 432.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.3124, allocations: 0.6031 MB / 433.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.3129, allocations: 39.94 kB / 433.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.3202, allocations: 4.419 MB / 437.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.3207, allocations: 0.8414 MB / 438.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.321, allocations: 59.38 kB / 438.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.3212, allocations: 167.4 kB / 439 MB, free: 8.238 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3212, allocations: 0 / 439 MB, free: 8.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04151/0.3627, allocations: 10.82 MB / 449.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.03, allocations: 8.938 kB / 449.8 MB, free: 13.36 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.325407775002532]