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.001869/0.001869, allocations: 83.3 kB / 21.99 MB, free: 5.172 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.001833/0.001833, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.37/1.37, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.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: 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [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.001863/0.001863, allocations: 55.92 kB / 299.4 MB, free: 6.824 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2288, allocations: 49.13 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.01262/0.2414, allocations: 5.216 MB / 353.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.247, allocations: 1.668 MB / 355.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008355/0.2478, allocations: 39.69 kB / 355.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009689/0.2488, allocations: 249.6 kB / 355.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009779/0.2498, allocations: 221.7 kB / 355.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.2516, allocations: 0.4955 MB / 356.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.2545, allocations: 1.391 MB / 357.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.2558, allocations: 428.1 kB / 358.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.2568, allocations: 494.1 kB / 358.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.2579, allocations: 429.3 kB / 359.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003469/0.2583, allocations: 127.9 kB / 359.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.2588, allocations: 135.9 kB / 359.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004154/0.2592, allocations: 267 kB / 359.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009641/0.2601, allocations: 497.4 kB / 360.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.2631, allocations: 1.632 MB / 361.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2631, allocations: 0 / 361.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2631, allocations: 0 / 361.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.281e-05/0.2631, allocations: 0 / 361.8 MB, free: 2.207 MB / 318.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.004579/0.2677, allocations: 1.42 MB / 363.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.2678, allocations: 8.031 kB / 363.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004727/0.2682, allocations: 155.1 kB / 363.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.2708, allocations: 0.6872 MB / 364 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.271, allocations: 86.41 kB / 364.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.2713, allocations: 116 kB / 364.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/0.2748, allocations: 1.322 MB / 365.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/0.2749, allocations: 7.922 kB / 365.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.275, allocations: 56 kB / 365.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.2751, allocations: 32 kB / 365.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.2774, allocations: 0.6851 MB / 366.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008439/0.2858, allocations: 6.294 MB / 372.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.2866, allocations: 245.2 kB / 372.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.2869, allocations: 157.7 kB / 373 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.241e-05/0.287, allocations: 7.984 kB / 373 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.2871, allocations: 39.06 kB / 373 MB, free: 6.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.465e-06/0.2871, allocations: 0 / 373 MB, free: 6.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002977/0.29, allocations: 1.276 MB / 374.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.2901, allocations: 85.05 kB / 374.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.2911, allocations: 0.6762 MB / 375.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2912, allocations: 33.64 kB / 375.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006017/0.2918, allocations: 0.7054 MB / 375.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.2919, allocations: 127 kB / 375.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.2921, allocations: 142.6 kB / 376.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.2923, allocations: 382.8 kB / 376.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.2927, allocations: 153.9 kB / 376.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.2934, allocations: 0.5394 MB / 377.1 MB, free: 1.871 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.001343/0.2947, allocations: 0.8153 MB / 378 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.2947, allocations: 4 kB / 378 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001594/0.2963, allocations: 0.7912 MB / 378.8 MB, free: 48 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.2963, allocations: 15.98 kB / 378.8 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.2964, allocations: 16.78 kB / 378.8 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.2967, allocations: 81.69 kB / 378.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.2973, allocations: 187.6 kB / 379.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.3003, allocations: 3.06 MB / 382.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.3008, allocations: 40.11 kB / 382.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.3008, allocations: 40 kB / 382.2 MB, free: 12.41 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.0004493/0.3013, allocations: 261.5 kB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.3014, allocations: 83.41 kB / 382.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.3016, allocations: 74.36 kB / 382.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3016, allocations: 4 kB / 382.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3016, allocations: 0 / 382.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3016, allocations: 3.984 kB / 382.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.3035, allocations: 1.056 MB / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3035, allocations: 3.938 kB / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3039, allocations: 63.95 kB / 383.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.304, allocations: 53.78 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.3041, allocations: 12 kB / 383.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.3065, allocations: 2.793 MB / 386.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3065, allocations: 7.875 kB / 386.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.3075, allocations: 0.6394 MB / 387.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3076, allocations: 59.47 kB / 387.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.3077, allocations: 8.062 kB / 387.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.308, allocations: 19.98 kB / 387.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.3081, allocations: 23.95 kB / 387.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.3081, allocations: 12 kB / 387.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005748/0.3087, allocations: 431 kB / 387.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3087, allocations: 4 kB / 387.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000907/0.3096, allocations: 159.9 kB / 387.9 MB, free: 6.352 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.0001298/0.3097, allocations: 103.3 kB / 388 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3109, allocations: 0.6451 MB / 388.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3109, allocations: 0 / 388.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.3115, allocations: 349.2 kB / 389 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.312, allocations: 79.36 kB / 389.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.3152, allocations: 1.841 MB / 390.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.3158, allocations: 450.9 kB / 391.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.316, allocations: 89.92 kB / 391.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.3161, allocations: 52.48 kB / 391.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3161, allocations: 0 / 391.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of Templates: time 0.01338/0.3295, allocations: 5.229 MB / 396.8 MB, free: 13.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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: 4.564065826009028]