Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.001587/0.001587, allocations: 108.2 kB / 21.18 MB, free: 0.7188 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.0019/0.0019, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 59.92 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3539, allocations: 49.15 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00716/0.361, allocations: 5.999 MB / 402.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.3651, allocations: 1.709 MB / 404.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008684/0.366, allocations: 41.5 kB / 404.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.3665, allocations: 248.7 kB / 404.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.3671, allocations: 221.2 kB / 404.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3682, allocations: 0.5122 MB / 405.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.3698, allocations: 1.386 MB / 406.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.3706, allocations: 450.7 kB / 406.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006982/0.3713, allocations: 496.5 kB / 407.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.3719, allocations: 0.4925 MB / 407.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.372, allocations: 121.5 kB / 408 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.3723, allocations: 135.3 kB / 408.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.3726, allocations: 267.9 kB / 408.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.3731, allocations: 0.6056 MB / 409 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.3753, allocations: 1.634 MB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3753, allocations: 4 kB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3753, allocations: 0 / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.242e-05/0.3753, allocations: 1.375 kB / 410.6 MB, free: 15.84 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002775/0.3781, allocations: 1.421 MB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.3781, allocations: 13.64 kB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/0.3784, allocations: 179.9 kB / 412.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.3786, allocations: 148.3 kB / 412.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.38, allocations: 0.6877 MB / 413.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.3801, allocations: 87.56 kB / 413.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.3803, allocations: 117.1 kB / 413.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.3826, allocations: 1.26 MB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.3827, allocations: 6.625 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3828, allocations: 54.88 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.3828, allocations: 35.28 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.3843, allocations: 0.6908 MB / 415.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008033/0.3923, allocations: 6.673 MB / 422 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.3932, allocations: 244.2 kB / 422.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.3937, allocations: 160.6 kB / 422.4 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.3938, allocations: 6.875 kB / 422.4 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/0.3939, allocations: 45.16 kB / 422.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 4.769e-06/0.3939, allocations: 0 / 422.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.003105/0.397, allocations: 1.291 MB / 423.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.3971, allocations: 84.45 kB / 423.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3981, allocations: 0.6661 MB / 424.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.3981, allocations: 30.89 kB / 424.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005861/0.3987, allocations: 0.7038 MB / 425.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3988, allocations: 115 kB / 425.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.3991, allocations: 146.9 kB / 425.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002575/0.3993, allocations: 383.2 kB / 425.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.3997, allocations: 144.1 kB / 426 MB, free: 3.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.4006, allocations: 0.5573 MB / 426.5 MB, free: 2.652 MB / 334.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.001451/0.402, allocations: 0.7901 MB / 427.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.402, allocations: 4.188 kB / 427.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001755/0.4038, allocations: 0.7972 MB / 428.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.4038, allocations: 14.56 kB / 428.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.4039, allocations: 15.69 kB / 428.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.4042, allocations: 82.44 kB / 428.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.4049, allocations: 182.6 kB / 428.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/0.4083, allocations: 3.12 MB / 431.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.4088, allocations: 33.58 kB / 431.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.4088, allocations: 44.06 kB / 431.6 MB, free: 14.26 MB / 350.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.0005845/0.4094, allocations: 265.3 kB / 431.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.4096, allocations: 82.55 kB / 432 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.4097, allocations: 71.33 kB / 432 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4097, allocations: 3.375 kB / 432 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.4097, allocations: 2.156 kB / 432 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.4097, allocations: 5.141 kB / 432 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.4121, allocations: 1.223 MB / 433.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4121, allocations: 4 kB / 433.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.4124, allocations: 63.89 kB / 433.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.4126, allocations: 57.77 kB / 433.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4127, allocations: 8 kB / 433.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.4154, allocations: 2.858 MB / 436.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.4154, allocations: 4.031 kB / 436.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.4165, allocations: 0.6394 MB / 436.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.4167, allocations: 67.42 kB / 437 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.4167, allocations: 12.06 kB / 437 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.417, allocations: 11.98 kB / 437 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.4171, allocations: 27.89 kB / 437 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.4171, allocations: 12 kB / 437 MB, free: 8.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006672/0.4178, allocations: 439 kB / 437.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4178, allocations: 0 / 437.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001156/0.4189, allocations: 160 kB / 437.6 MB, free: 8.32 MB / 350.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.001385/0.4203, allocations: 1.181 MB / 438.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.4216, allocations: 0.6362 MB / 439.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4216, allocations: 0 / 439.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.4221, allocations: 350.3 kB / 439.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.4227, allocations: 83.53 kB / 439.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00986/0.4325, allocations: 6.421 MB / 446.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.4334, allocations: 1.038 MB / 447.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000278/0.4336, allocations: 86.02 kB / 447.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/0.4342, allocations: 427.2 kB / 447.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4342, allocations: 3.938 kB / 447.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05241/0.4866, allocations: 13.3 MB / 461.1 MB, free: 112 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.81, allocations: 16.77 kB / 461.1 MB, free: 96 kB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.586437651887536]