Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.001646/0.001646, allocations: 108.2 kB / 21.18 MB, free: 0.5508 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.001727/0.001727, allocations: 204.2 kB / 24.49 MB, free: 3.91 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.409/1.409, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.001769/0.001769, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2557, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004107/0.2598, allocations: 3.777 MB / 400.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2619, allocations: 1.487 MB / 401.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.2623, allocations: 10.28 kB / 401.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.2639, allocations: 0.7651 MB / 402.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.2648, allocations: 409.2 kB / 402.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.2658, allocations: 0.5603 MB / 403.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.2663, allocations: 497 kB / 403.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006111/0.2669, allocations: 444.8 kB / 404.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.2672, allocations: 235.3 kB / 404.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.2675, allocations: 290.6 kB / 404.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.2675, allocations: 46.25 kB / 404.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.268, allocations: 208.8 kB / 405 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.268, allocations: 115.2 kB / 405.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.2682, allocations: 260.2 kB / 405.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.269, allocations: 0.7153 MB / 406.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.269, allocations: 1.031 kB / 406.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.269, allocations: 0 / 406.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.269, allocations: 0 / 406.1 MB, free: 2.852 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.001854/0.2708, allocations: 0.8739 MB / 407 MB, free: 2.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2709, allocations: 19.36 kB / 407 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.271, allocations: 104.2 kB / 407.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003934/0.2749, allocations: 0.5923 MB / 407.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2754, allocations: 255.4 kB / 408 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.2754, allocations: 45.06 kB / 408 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.2755, allocations: 65.2 kB / 408.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/0.2764, allocations: 0.5706 MB / 408.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.2765, allocations: 4.734 kB / 408.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.2765, allocations: 24.94 kB / 408.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.2765, allocations: 14.41 kB / 408.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.2776, allocations: 0.6499 MB / 409.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.2803, allocations: 1.818 MB / 411.1 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2818, allocations: 0.6345 MB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.2823, allocations: 237.4 kB / 412 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.053e-05/0.2823, allocations: 17.05 kB / 412 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2824, allocations: 46.12 kB / 412.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.973e-06/0.2824, allocations: 0 / 412.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.00168/0.284, allocations: 0.667 MB / 412.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.2841, allocations: 64.53 kB / 412.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.2843, allocations: 205.1 kB / 413 MB, free: 15.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.2844, allocations: 37.03 kB / 413 MB, free: 15.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.2845, allocations: 248.2 kB / 413.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.2847, allocations: 171.8 kB / 413.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2848, allocations: 92.17 kB / 413.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.285, allocations: 336.2 kB / 413.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.2853, allocations: 163.6 kB / 414 MB, free: 14.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.2857, allocations: 283.6 kB / 414.3 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.2864, allocations: 481.3 kB / 414.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2864, allocations: 1.125 kB / 414.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001097/0.2875, allocations: 0.5877 MB / 415.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2875, allocations: 6.5 kB / 415.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2875, allocations: 3.594 kB / 415.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.2879, allocations: 83.89 kB / 415.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.2883, allocations: 117.6 kB / 415.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.2902, allocations: 1.673 MB / 417.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.2906, allocations: 56.95 kB / 417.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.2906, allocations: 25.14 kB / 417.3 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.2909, allocations: 179.2 kB / 417.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.291, allocations: 33.98 kB / 417.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.2921, allocations: 0.5459 MB / 418.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2921, allocations: 5.781 kB / 418.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2921, allocations: 1.469 kB / 418.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2921, allocations: 3.984 kB / 418.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.2939, allocations: 1.134 MB / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2939, allocations: 1.406 kB / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.2942, allocations: 83.7 kB / 419.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/0.2945, allocations: 80.2 kB / 419.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.2945, allocations: 15.67 kB / 419.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.2963, allocations: 1.666 MB / 421.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2963, allocations: 0.9375 kB / 421.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.2976, allocations: 0.8173 MB / 421.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.2977, allocations: 33.88 kB / 421.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.2977, allocations: 11.91 kB / 421.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.298, allocations: 24.48 kB / 421.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.2981, allocations: 38.39 kB / 422 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.2981, allocations: 18.44 kB / 422 MB, free: 8.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.2982, allocations: 146.5 kB / 422.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2982, allocations: 0 / 422.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005894/0.2988, allocations: 151.7 kB / 422.3 MB, free: 8.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00178/0.3006, allocations: 1.394 MB / 423.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3017, allocations: 0.5731 MB / 424.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3017, allocations: 3.938 kB / 424.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006592/0.3024, allocations: 364.8 kB / 424.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3027, allocations: 43.97 kB / 424.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.3082, allocations: 3.671 MB / 428.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.3087, allocations: 0.8172 MB / 429.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.3089, allocations: 55.25 kB / 429.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3091, allocations: 143.4 kB / 429.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3091, allocations: 0 / 429.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.3515, allocations: 8.359 MB / 437.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.59, allocations: 0.9375 kB / 437.7 MB, free: 8.984 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.944896582048386]