Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.001784/0.001784, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002047/0.002047, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.472/1.472, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002924/0.002924, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1366, allocations: 53.32 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.2313/0.3679, allocations: 6.033 MB / 432.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.3709, allocations: 1.729 MB / 434.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006442/0.3715, allocations: 34.34 kB / 434.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.372, allocations: 250.9 kB / 434.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.3725, allocations: 219.5 kB / 434.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.3734, allocations: 0.5213 MB / 435.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3746, allocations: 1.386 MB / 436.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.3752, allocations: 446.9 kB / 437.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.3758, allocations: 488.1 kB / 437.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.3763, allocations: 0.4955 MB / 438.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.3764, allocations: 122.2 kB / 438.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.3767, allocations: 138.6 kB / 438.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.3769, allocations: 266.7 kB / 438.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.3773, allocations: 0.6099 MB / 439.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.379, allocations: 1.642 MB / 441 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.379, allocations: 1.344 kB / 441 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.379, allocations: 0 / 441 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.3791, allocations: 0 / 441 MB, free: 4.695 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002073/0.3811, allocations: 1.499 MB / 442.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3812, allocations: 10.69 kB / 442.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.3814, allocations: 177.2 kB / 442.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.3817, allocations: 170.1 kB / 442.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.3829, allocations: 0.7702 MB / 443.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.3829, allocations: 89.56 kB / 443.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.3831, allocations: 124 kB / 443.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.3849, allocations: 1.265 MB / 445.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.3849, allocations: 14.58 kB / 445.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.385, allocations: 57.59 kB / 445.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.385, allocations: 32.47 kB / 445.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.3863, allocations: 0.6879 MB / 445.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006329/0.3926, allocations: 6.796 MB / 452.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.3933, allocations: 254.1 kB / 453 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.3937, allocations: 160.3 kB / 453.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.3938, allocations: 84.38 kB / 453.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.3939, allocations: 43.14 kB / 453.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/0.3939, allocations: 0 / 453.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002764/0.3966, allocations: 1.427 MB / 454.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3967, allocations: 80.89 kB / 454.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008839/0.3976, allocations: 0.662 MB / 455.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.3976, allocations: 34.89 kB / 455.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.3982, allocations: 0.7029 MB / 456.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3983, allocations: 122.1 kB / 456.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.3985, allocations: 140.4 kB / 456.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.3988, allocations: 388.3 kB / 456.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.3991, allocations: 143.5 kB / 456.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.3998, allocations: 0.5493 MB / 457.5 MB, free: 8.578 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.4011, allocations: 0.9635 MB / 458.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4011, allocations: 4.375 kB / 458.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001428/0.4025, allocations: 0.7953 MB / 459.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4025, allocations: 11.69 kB / 459.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.4025, allocations: 14.11 kB / 459.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.4028, allocations: 86.38 kB / 459.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.4034, allocations: 191.6 kB / 459.5 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.4063, allocations: 3.317 MB / 462.8 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.4068, allocations: 35.75 kB / 462.9 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.4069, allocations: 39.75 kB / 462.9 MB, free: 3.957 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005681/0.4075, allocations: 278 kB / 463.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4076, allocations: 73.91 kB / 463.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.4077, allocations: 79.59 kB / 463.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.4078, allocations: 4.312 kB / 463.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.4078, allocations: 7.406 kB / 463.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4078, allocations: 5.031 kB / 463.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.41, allocations: 1.244 MB / 464.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4101, allocations: 2.344 kB / 464.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.4104, allocations: 68.33 kB / 464.7 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.4106, allocations: 51.89 kB / 464.7 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4106, allocations: 9.109 kB / 464.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.4131, allocations: 3.054 MB / 467.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4131, allocations: 1.094 kB / 467.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00099/0.4141, allocations: 0.6388 MB / 468.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.4143, allocations: 146.8 kB / 468.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.4144, allocations: 7.5 kB / 468.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.4147, allocations: 17.86 kB / 468.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.4147, allocations: 26.31 kB / 468.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.4148, allocations: 6.719 kB / 468.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006452/0.4154, allocations: 445 kB / 469.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4154, allocations: 4 kB / 469.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00118/0.4166, allocations: 154.6 kB / 469.2 MB, free: 14.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.4179, allocations: 1.188 MB / 470.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.4191, allocations: 0.6314 MB / 471 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4191, allocations: 0 / 471 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.4196, allocations: 351.7 kB / 471.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.4202, allocations: 79 kB / 471.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009239/0.4294, allocations: 6.471 MB / 477.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.4302, allocations: 1.039 MB / 479 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.4305, allocations: 85.11 kB / 479 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.4309, allocations: 426.4 kB / 479.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4309, allocations: 1.406 kB / 479.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.4783, allocations: 12.84 MB / 492.3 MB, free: 12.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.33, allocations: 15.86 kB / 492.3 MB, free: 12.79 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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: 13.807218146044761]