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.0008134/0.0008134, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007978/0.0007978, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8692/0.8692, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.431e-05, allocations: 3.266 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002564/0.002579, allocations: 2.712 MB / 327.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003602, allocations: 0.6777 MB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.003735, allocations: 11.94 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.003885, allocations: 59.38 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.004006, allocations: 87.19 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.004214, allocations: 99.73 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.004484, allocations: 394.7 kB / 328.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.004677, allocations: 116.8 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.004958, allocations: 227.5 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005064, allocations: 115.7 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.005098, allocations: 32 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.005126, allocations: 36 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.005163, allocations: 71.73 kB / 329.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.005235, allocations: 119.7 kB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.005502, allocations: 394.7 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005504, allocations: 0 / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005505, allocations: 4 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.00551, allocations: 0 / 329.7 MB, free: 10.71 MB / 298.7 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.0005866/0.006097, allocations: 0.5443 MB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.006134, allocations: 15.98 kB / 330.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.006184, allocations: 70.72 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.006234, allocations: 36.7 kB / 330.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.006464, allocations: 205.2 kB / 330.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.006482, allocations: 28.97 kB / 330.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.006515, allocations: 28.38 kB / 330.6 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.006854, allocations: 338 kB / 330.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006863, allocations: 192 / 330.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.006884, allocations: 20.12 kB / 330.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.006891, allocations: 12 kB / 330.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.007152, allocations: 206.5 kB / 331.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.008067, allocations: 0.9105 MB / 332.1 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.008297, allocations: 155.4 kB / 332.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.008465, allocations: 128.3 kB / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.00848, allocations: 4 kB / 332.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.008499, allocations: 30.56 kB / 332.4 MB, free: 7.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.0085, allocations: 4 kB / 332.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003344/0.008834, allocations: 229.7 kB / 332.6 MB, free: 7.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.008859, allocations: 51.41 kB / 332.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.008994, allocations: 223.1 kB / 332.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.009007, allocations: 25.7 kB / 332.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.009084, allocations: 192.4 kB / 333.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.009124, allocations: 75.38 kB / 333.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.009177, allocations: 49.98 kB / 333.2 MB, free: 6.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.009253, allocations: 338.8 kB / 333.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.009344, allocations: 60.53 kB / 333.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.009467, allocations: 155.5 kB / 333.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.009687, allocations: 237.1 kB / 334 MB, free: 6.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.009689, allocations: 0 / 334 MB, free: 6.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002742/0.009963, allocations: 269.2 kB / 334.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.009975, allocations: 8.188 kB / 334.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.009982, allocations: 8 kB / 334.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.009993, allocations: 4 kB / 334.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.01015, allocations: 71.91 kB / 334.3 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01016, allocations: 7.984 kB / 334.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.01024, allocations: 27.78 kB / 334.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.01025, allocations: 8 kB / 334.4 MB, free: 5.703 MB / 298.7 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 8.601e-05/0.01033, allocations: 149.8 kB / 334.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.01036, allocations: 19.86 kB / 334.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.01059, allocations: 207.2 kB / 334.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01059, allocations: 3.938 kB / 334.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.01059, allocations: 0 / 334.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.0106, allocations: 0 / 334.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.01106, allocations: 0.5567 MB / 335.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01106, allocations: 0 / 335.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.01121, allocations: 63.97 kB / 335.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01121, allocations: 3.984 kB / 335.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01122, allocations: 4 kB / 335.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01122, allocations: 0 / 335.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01122, allocations: 4 kB / 335.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.01156, allocations: 380.3 kB / 335.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.01158, allocations: 27.78 kB / 335.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.0116, allocations: 8.062 kB / 335.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.01168, allocations: 15.98 kB / 335.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.01171, allocations: 11.98 kB / 335.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01172, allocations: 7.984 kB / 335.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.423e-05/0.0118, allocations: 156.6 kB / 336 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 336 MB, free: 4.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.01201, allocations: 79.78 kB / 336 MB, free: 3.938 MB / 298.7 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.0004775/0.01249, allocations: 0.9056 MB / 336.9 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.01271, allocations: 167.7 kB / 337.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01272, allocations: 0 / 337.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.01281, allocations: 84.47 kB / 337.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01303, allocations: 40.95 kB / 337.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.01506, allocations: 2.673 MB / 339.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.175e-05/0.01515, allocations: 163.5 kB / 340.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.01521, allocations: 25.88 kB / 340.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.01529, allocations: 92.47 kB / 340.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01529, allocations: 0 / 340.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.03143, allocations: 5.425 MB / 345.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.746, allocations: 0 / 345.6 MB, free: 10.3 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 8.485766374506056]