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.001799/0.001799, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002247/0.002247, allocations: 205.8 kB / 23.72 MB, free: 4.391 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.539/1.539, allocations: 230.5 MB / 257.4 MB, free: 7.773 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: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 59.91 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 53.42 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008036/0.3068, allocations: 5.289 MB / 436.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004012/0.3109, allocations: 1.695 MB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008936/0.3117, allocations: 43.69 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.3125, allocations: 253.6 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.313, allocations: 213.7 kB / 439.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3141, allocations: 0.5227 MB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.3158, allocations: 1.391 MB / 441.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008324/0.3166, allocations: 418.8 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/0.3174, allocations: 498.1 kB / 442 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.318, allocations: 433.2 kB / 442.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.3181, allocations: 120 kB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.3184, allocations: 140 kB / 442.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.3187, allocations: 271 kB / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.3192, allocations: 493.4 kB / 443.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.321, allocations: 1.645 MB / 445 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.321, allocations: 0 / 445 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.321, allocations: 0 / 445 MB, free: 9.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.321, allocations: 0 / 445 MB, free: 9.074 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.002413/0.3234, allocations: 1.424 MB / 446.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3235, allocations: 15.97 kB / 446.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.3239, allocations: 163 kB / 446.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.3253, allocations: 0.6911 MB / 447.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.3254, allocations: 90.41 kB / 447.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.3256, allocations: 120 kB / 447.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.3278, allocations: 1.314 MB / 448.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/0.3278, allocations: 11.88 kB / 448.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/0.3279, allocations: 56 kB / 448.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.328, allocations: 32 kB / 448.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.3294, allocations: 0.6813 MB / 449.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006755/0.3361, allocations: 6.294 MB / 455.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007755/0.3369, allocations: 253.2 kB / 456.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.3373, allocations: 161.6 kB / 456.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.3374, allocations: 8 kB / 456.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3374, allocations: 46.48 kB / 456.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.3374, allocations: 0 / 456.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002621/0.34, allocations: 1.271 MB / 457.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.3401, allocations: 93.03 kB / 457.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.3409, allocations: 0.6685 MB / 458.4 MB, free: 11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.341, allocations: 33.69 kB / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/0.3415, allocations: 0.7016 MB / 459.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3416, allocations: 127 kB / 459.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.3418, allocations: 146.5 kB / 459.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.3421, allocations: 386.8 kB / 459.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3424, allocations: 145.9 kB / 459.9 MB, free: 9.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.343, allocations: 0.551 MB / 460.5 MB, free: 8.695 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.001184/0.3442, allocations: 0.8029 MB / 461.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3442, allocations: 4 kB / 461.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001346/0.3455, allocations: 0.7979 MB / 462.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3456, allocations: 15.98 kB / 462.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.3456, allocations: 12 kB / 462.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.3458, allocations: 77.69 kB / 462.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.3464, allocations: 184.1 kB / 462.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.3493, allocations: 3.068 MB / 465.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.3496, allocations: 31.98 kB / 465.5 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.3497, allocations: 44 kB / 465.5 MB, free: 3.25 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.0004545/0.3502, allocations: 265.6 kB / 465.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3503, allocations: 91.41 kB / 465.8 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3504, allocations: 66.36 kB / 465.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3504, allocations: 4 kB / 465.9 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.3504, allocations: 7.938 kB / 465.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3504, allocations: 3.984 kB / 465.9 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.3521, allocations: 1.056 MB / 467 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3521, allocations: 0 / 467 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.3524, allocations: 71.89 kB / 467 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/0.3526, allocations: 49.69 kB / 467.1 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3526, allocations: 8 kB / 467.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.3552, allocations: 2.793 MB / 469.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3552, allocations: 0 / 469.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3563, allocations: 0.6443 MB / 470.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3564, allocations: 67.64 kB / 470.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.3565, allocations: 15.98 kB / 470.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.3567, allocations: 12 kB / 470.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.3568, allocations: 27.95 kB / 470.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3568, allocations: 4 kB / 470.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005382/0.3574, allocations: 435 kB / 471.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3574, allocations: 0 / 471.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009647/0.3583, allocations: 160 kB / 471.2 MB, free: 13.18 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.0001447/0.3585, allocations: 110.8 kB / 471.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3596, allocations: 0.6369 MB / 472 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3596, allocations: 0 / 472 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.3602, allocations: 361.6 kB / 472.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.3607, allocations: 73.98 kB / 472.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.3641, allocations: 1.861 MB / 474.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.3646, allocations: 446.9 kB / 474.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.3648, allocations: 93.86 kB / 474.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.365, allocations: 55.42 kB / 474.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.365, allocations: 4 kB / 474.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of Templates: time 0.01428/0.3792, allocations: 6.352 MB / 481.2 MB, free: 3.207 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.8776399083435535]