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.001243/0.001243, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001355/0.001355, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.484/1.484, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.0019/0.0019, allocations: 67.89 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2985, allocations: 53.41 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004434/0.3029, allocations: 2.702 MB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3043, allocations: 0.6816 MB / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3044, allocations: 4 kB / 435.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3046, allocations: 67.36 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.3048, allocations: 83.2 kB / 435.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3051, allocations: 95.81 kB / 435.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.3055, allocations: 378.8 kB / 435.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.3058, allocations: 128.8 kB / 436 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.3062, allocations: 155.4 kB / 436.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.3064, allocations: 159.3 kB / 436.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.3064, allocations: 36 kB / 436.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.3065, allocations: 32 kB / 436.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3066, allocations: 75.75 kB / 436.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.3067, allocations: 143.4 kB / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.3072, allocations: 398.2 kB / 437 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3072, allocations: 0 / 437 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3072, allocations: 0 / 437 MB, free: 1.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3072, allocations: 0 / 437 MB, free: 1.336 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.0009688/0.3082, allocations: 0.5482 MB / 437.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3082, allocations: 8.031 kB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.899e-05/0.3083, allocations: 8.844 kB / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.3083, allocations: 70.72 kB / 437.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.3084, allocations: 40.7 kB / 437.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.3088, allocations: 202.7 kB / 437.9 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.3088, allocations: 29.02 kB / 437.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.3089, allocations: 28.38 kB / 437.9 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.3095, allocations: 333.4 kB / 438.3 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3095, allocations: 4 kB / 438.3 MB, free: 0 / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.3095, allocations: 12.08 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3096, allocations: 12 kB / 438.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.31, allocations: 218.4 kB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.3117, allocations: 0.9097 MB / 439.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.3121, allocations: 157.7 kB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.3124, allocations: 128.8 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3124, allocations: 0 / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3124, allocations: 34.56 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.3124, allocations: 0 / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006205/0.313, allocations: 232.4 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3131, allocations: 55.41 kB / 440 MB, free: 14.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3134, allocations: 212.2 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3134, allocations: 25.7 kB / 440.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3136, allocations: 200.4 kB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.3136, allocations: 75.38 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.3137, allocations: 45.98 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3139, allocations: 338.8 kB / 440.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.3141, allocations: 68.45 kB / 441 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.3143, allocations: 151.6 kB / 441.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.3147, allocations: 229.2 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3147, allocations: 4 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005242/0.3152, allocations: 269.1 kB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3152, allocations: 4 kB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3153, allocations: 4 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3153, allocations: 7.938 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.3156, allocations: 80.14 kB / 441.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3156, allocations: 4 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3158, allocations: 31.77 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.3158, allocations: 12 kB / 441.7 MB, free: 12.32 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.0001582/0.316, allocations: 145.7 kB / 441.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.316, allocations: 23.86 kB / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.3164, allocations: 198.7 kB / 442.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3165, allocations: 8 kB / 442.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3165, allocations: 0 / 442.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3165, allocations: 3.984 kB / 442.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.3174, allocations: 0.5458 MB / 442.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3174, allocations: 7.938 kB / 442.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.3176, allocations: 51.97 kB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3177, allocations: 4 kB / 442.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3177, allocations: 4.062 kB / 442.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3177, allocations: 7.938 kB / 442.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3177, allocations: 0 / 442.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.3183, allocations: 377.3 kB / 443.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.3184, allocations: 27.98 kB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.3184, allocations: 8 kB / 443.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.3186, allocations: 15.98 kB / 443.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.3186, allocations: 23.91 kB / 443.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3186, allocations: 11.94 kB / 443.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3188, allocations: 159.5 kB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3188, allocations: 0 / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.3191, allocations: 75.78 kB / 443.4 MB, free: 10.55 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.0008977/0.32, allocations: 0.9005 MB / 444.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.3205, allocations: 171.4 kB / 444.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3205, allocations: 4 kB / 444.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3206, allocations: 79.83 kB / 444.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.321, allocations: 37.17 kB / 444.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.3247, allocations: 2.821 MB / 447.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3249, allocations: 163.5 kB / 447.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.325, allocations: 17.95 kB / 447.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3251, allocations: 95.39 kB / 447.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3251, allocations: 0 / 447.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.3524, allocations: 5.017 MB / 452.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.62, allocations: 3.5 kB / 452.7 MB, free: 1.203 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.672652473906055]