Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.88 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2846, allocations: 53.41 MB / 432 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004568/0.2892, allocations: 2.933 MB / 434.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2908, allocations: 0.7282 MB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.291, allocations: 4 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.2912, allocations: 67.36 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.2914, allocations: 83.19 kB / 435.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.2917, allocations: 87.89 kB / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.2922, allocations: 386.8 kB / 436.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.2925, allocations: 124.8 kB / 436.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.2928, allocations: 151.5 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.2931, allocations: 163.3 kB / 436.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.2931, allocations: 36 kB / 436.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.2932, allocations: 32 kB / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.2933, allocations: 67.77 kB / 436.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.2934, allocations: 171.1 kB / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.294, allocations: 394.7 kB / 437.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.294, allocations: 0 / 437.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.294, allocations: 4 kB / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.294, allocations: 0 / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001116/0.2952, allocations: 0.5482 MB / 437.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.2952, allocations: 8.031 kB / 437.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.691e-05/0.2952, allocations: 8.844 kB / 437.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.636e-05/0.2953, allocations: 66.72 kB / 438 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.2954, allocations: 48.62 kB / 438.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.2959, allocations: 202.7 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.296, allocations: 29.03 kB / 438.3 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.296, allocations: 28.38 kB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.2966, allocations: 290 kB / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2967, allocations: 0 / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.2967, allocations: 16 kB / 438.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2967, allocations: 8 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.2972, allocations: 214.4 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.2991, allocations: 0.9799 MB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.2994, allocations: 158.5 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.2997, allocations: 125.1 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2998, allocations: 7.953 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2998, allocations: 30.56 kB / 440.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.2998, allocations: 0 / 440.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006236/0.3004, allocations: 232.1 kB / 440.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3005, allocations: 55.41 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.3007, allocations: 216.2 kB / 440.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3007, allocations: 29.7 kB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3009, allocations: 192.4 kB / 440.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.3009, allocations: 79.33 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.301, allocations: 45.98 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3012, allocations: 342.8 kB / 441.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3014, allocations: 64.52 kB / 441.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.3016, allocations: 147.6 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.302, allocations: 225.1 kB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3021, allocations: 4 kB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005231/0.3026, allocations: 269.4 kB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3026, allocations: 4 kB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3026, allocations: 4 kB / 442 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3026, allocations: 7.938 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.3029, allocations: 75.89 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.3029, allocations: 4 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.3031, allocations: 31.77 kB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3031, allocations: 12 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.3033, allocations: 149.8 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.3033, allocations: 19.86 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.3038, allocations: 202.7 kB / 442.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3038, allocations: 0 / 442.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3038, allocations: 3.938 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3038, allocations: 0 / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009147/0.3047, allocations: 0.581 MB / 443.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3047, allocations: 3.984 kB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.305, allocations: 51.97 kB / 443.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.305, allocations: 4 kB / 443.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.305, allocations: 4 kB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.305, allocations: 7.938 kB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.305, allocations: 64 / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.3057, allocations: 373.3 kB / 443.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3057, allocations: 27.86 kB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.3058, allocations: 8 kB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.3059, allocations: 16.11 kB / 443.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.306, allocations: 23.91 kB / 443.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.306, allocations: 11.94 kB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.3062, allocations: 155.5 kB / 443.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3062, allocations: 0 / 443.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.3066, allocations: 79.78 kB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009777/0.3076, allocations: 0.9123 MB / 444.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.308, allocations: 171.8 kB / 444.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.308, allocations: 0 / 444.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3082, allocations: 79.84 kB / 445 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3086, allocations: 37.2 kB / 445 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.3126, allocations: 2.824 MB / 447.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.3132, allocations: 0.7675 MB / 448.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.3133, allocations: 21.95 kB / 448.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3134, allocations: 91.41 kB / 448.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3134, allocations: 0 / 448.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.3417, allocations: 4.947 MB / 453.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.45, allocations: 14.06 kB / 453.7 MB, free: 0.5039 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.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.401794687961228]