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.001351/0.001351, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001519/0.001519, allocations: 212 kB / 24.47 MB, free: 3.547 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.525/1.525, allocations: 207.7 MB / 235.3 MB, free: 9.801 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: 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.001994/0.001994, allocations: 55.92 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00706/0.3146, allocations: 5.223 MB / 402.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.3193, allocations: 1.657 MB / 403.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.3203, allocations: 37.03 kB / 403.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.3209, allocations: 253.9 kB / 404 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.3215, allocations: 219.2 kB / 404.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.3228, allocations: 0.4972 MB / 404.7 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.3247, allocations: 1.385 MB / 406.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.3254, allocations: 426.2 kB / 406.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007643/0.3262, allocations: 0.4892 MB / 407 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.3267, allocations: 432.9 kB / 407.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.3269, allocations: 125 kB / 407.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.3272, allocations: 136.1 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.3274, allocations: 267.8 kB / 408 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.3278, allocations: 488 kB / 408.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.3296, allocations: 1.643 MB / 410.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3296, allocations: 1.25 kB / 410.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3296, allocations: 3.938 kB / 410.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.3296, allocations: 0 / 410.1 MB, free: 1.199 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.002202/0.3318, allocations: 1.412 MB / 411.5 MB, free: 136 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.3319, allocations: 8.781 kB / 411.5 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.3321, allocations: 153.2 kB / 411.7 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.3337, allocations: 0.6875 MB / 412.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.3338, allocations: 90.5 kB / 412.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.3341, allocations: 114.7 kB / 412.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.3366, allocations: 1.314 MB / 413.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.3366, allocations: 7.281 kB / 413.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.3367, allocations: 50.31 kB / 413.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/0.3368, allocations: 36.59 kB / 414 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.3382, allocations: 0.688 MB / 414.6 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/0.3448, allocations: 6.29 MB / 420.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.3456, allocations: 252.6 kB / 421.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.346, allocations: 158.2 kB / 421.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.3461, allocations: 5.5 kB / 421.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3462, allocations: 38.38 kB / 421.4 MB, free: 7.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.255e-06/0.3462, allocations: 0 / 421.4 MB, free: 7.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002651/0.3488, allocations: 1.281 MB / 422.7 MB, free: 6.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3489, allocations: 93.36 kB / 422.8 MB, free: 6.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/0.3498, allocations: 0.6779 MB / 423.4 MB, free: 6.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.3498, allocations: 30.95 kB / 423.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/0.3504, allocations: 0.701 MB / 424.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3505, allocations: 122.2 kB / 424.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.3507, allocations: 142.7 kB / 424.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.3509, allocations: 384.4 kB / 424.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.3512, allocations: 152 kB / 424.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.3519, allocations: 0.5493 MB / 425.5 MB, free: 4.457 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.001253/0.3531, allocations: 0.8028 MB / 426.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.3532, allocations: 4.281 kB / 426.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001469/0.3546, allocations: 0.7965 MB / 427.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.3547, allocations: 11.69 kB / 427.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.3547, allocations: 14.28 kB / 427.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.355, allocations: 81.41 kB / 427.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.3555, allocations: 184.3 kB / 427.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.3583, allocations: 3.062 MB / 430.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.3588, allocations: 33.83 kB / 430.5 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.3588, allocations: 44.25 kB / 430.5 MB, free: 132 kB / 334.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.0004648/0.3593, allocations: 269.7 kB / 430.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3594, allocations: 83.42 kB / 430.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3595, allocations: 74.34 kB / 430.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3596, allocations: 4 kB / 430.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3596, allocations: 4 kB / 430.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3596, allocations: 0 / 430.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.3613, allocations: 1.051 MB / 432 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3613, allocations: 0 / 432 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.3617, allocations: 71.83 kB / 432.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.3618, allocations: 53.69 kB / 432.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3618, allocations: 11.98 kB / 432.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.3641, allocations: 2.801 MB / 434.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3641, allocations: 0 / 434.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/0.365, allocations: 0.6315 MB / 435.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3652, allocations: 71.58 kB / 435.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.3652, allocations: 8.062 kB / 435.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.3655, allocations: 12 kB / 435.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.3655, allocations: 27.89 kB / 435.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3656, allocations: 15.98 kB / 435.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000534/0.3661, allocations: 435 kB / 436.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3661, allocations: 0 / 436.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009208/0.367, allocations: 152 kB / 436.3 MB, free: 10.07 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.0001479/0.3672, allocations: 111.2 kB / 436.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3683, allocations: 0.6332 MB / 437 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3683, allocations: 0 / 437 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004943/0.3688, allocations: 357.6 kB / 437.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.3693, allocations: 79.69 kB / 437.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.3726, allocations: 1.853 MB / 439.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.3731, allocations: 450.9 kB / 439.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.3734, allocations: 77.94 kB / 439.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3735, allocations: 59.41 kB / 439.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3735, allocations: 4 kB / 439.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Templates: time 0.01483/0.3883, allocations: 6.354 MB / 446.2 MB, free: 15.98 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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.98325664550066]