Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.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.001717/0.001717, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.0021/0.0021, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.94 kB / 373 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09698, allocations: 53.33 MB / 426.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004345/0.1013, allocations: 2.914 MB / 429.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1027, allocations: 0.7167 MB / 430 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.103, allocations: 12 kB / 430 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1032, allocations: 59.38 kB / 430 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.1034, allocations: 83.2 kB / 430.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1037, allocations: 91.86 kB / 430.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.1042, allocations: 382.8 kB / 430.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.1045, allocations: 124.4 kB / 430.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.1048, allocations: 163.5 kB / 430.9 MB, free: 332 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1051, allocations: 155.2 kB / 431 MB, free: 176 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.1051, allocations: 36 kB / 431.1 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.997e-05/0.1052, allocations: 32 kB / 431.1 MB, free: 108 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.1052, allocations: 75.75 kB / 431.2 MB, free: 32 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1863/0.2916, allocations: 168.1 kB / 431.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.2921, allocations: 386.3 kB / 431.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2921, allocations: 1.125 kB / 431.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2921, allocations: 0 / 431.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2921, allocations: 0.8438 kB / 431.7 MB, free: 7.879 MB / 350.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.000876/0.293, allocations: 0.6225 MB / 432.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.293, allocations: 9.188 kB / 432.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.2931, allocations: 73.55 kB / 432.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.2932, allocations: 38.95 kB / 432.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.2935, allocations: 268.1 kB / 432.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2935, allocations: 27.84 kB / 432.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.2936, allocations: 31.78 kB / 432.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.2941, allocations: 281.3 kB / 433 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2941, allocations: 1.203 kB / 433 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.2941, allocations: 13.38 kB / 433 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2941, allocations: 9.469 kB / 433.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.2945, allocations: 214.3 kB / 433.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2958, allocations: 1.029 MB / 434.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2961, allocations: 152.9 kB / 434.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.2963, allocations: 118.8 kB / 434.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2964, allocations: 11.05 kB / 434.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2964, allocations: 36.31 kB / 434.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.2964, allocations: 0 / 434.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005386/0.2969, allocations: 225.1 kB / 434.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.2969, allocations: 53.66 kB / 434.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.2971, allocations: 214.5 kB / 435.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2971, allocations: 29.36 kB / 435.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.2972, allocations: 189.5 kB / 435.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.2972, allocations: 85.72 kB / 435.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.2973, allocations: 51.59 kB / 435.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.2974, allocations: 336.9 kB / 435.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2975, allocations: 67.69 kB / 435.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.2977, allocations: 140.6 kB / 436 MB, free: 5.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.2981, allocations: 228.9 kB / 436.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2981, allocations: 2.062 kB / 436.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004746/0.2986, allocations: 274.7 kB / 436.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2986, allocations: 7.062 kB / 436.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2986, allocations: 6.719 kB / 436.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2986, allocations: 4.312 kB / 436.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.2989, allocations: 75.86 kB / 436.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.2989, allocations: 4.906 kB / 436.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.2991, allocations: 27.88 kB / 436.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2991, allocations: 12.58 kB / 436.6 MB, free: 5.547 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 9.517e-05/0.2992, allocations: 143.7 kB / 436.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.2992, allocations: 30.36 kB / 436.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.2996, allocations: 200.2 kB / 437 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2996, allocations: 2.281 kB / 437 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2996, allocations: 0 / 437 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2996, allocations: 2.547 kB / 437 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.3004, allocations: 0.6047 MB / 437.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.3004, allocations: 0 / 437.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3006, allocations: 59.33 kB / 437.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3007, allocations: 2.531 kB / 437.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3007, allocations: 5.156 kB / 437.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3007, allocations: 4.438 kB / 437.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3007, allocations: 0 / 437.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.3012, allocations: 381.2 kB / 438 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.3012, allocations: 100.8 kB / 438.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3013, allocations: 8.297 kB / 438.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3014, allocations: 18.27 kB / 438.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.3015, allocations: 15.5 kB / 438.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3015, allocations: 6.281 kB / 438.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3016, allocations: 153.4 kB / 438.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3016, allocations: 0 / 438.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.3019, allocations: 76.59 kB / 438.4 MB, free: 4.66 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.0006663/0.3026, allocations: 0.9126 MB / 439.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.303, allocations: 177.1 kB / 439.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.303, allocations: 1.281 kB / 439.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.3032, allocations: 78.53 kB / 439.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3035, allocations: 38.47 kB / 439.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.3064, allocations: 2.821 MB / 442.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3066, allocations: 0.7672 MB / 443.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.888e-05/0.3067, allocations: 24.72 kB / 443.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3068, allocations: 93.33 kB / 443.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3068, allocations: 0 / 443.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.337, allocations: 4.671 MB / 448 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.336, allocations: 10.19 kB / 448 MB, free: 0.5156 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 10.973081399919465]