Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 114.6 kB / 18.4 MB, free: 4.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 190.7 kB / 21.34 MB, free: 1.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 51.92 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09837, allocations: 49.44 MB / 408.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007781/0.1062, allocations: 6.004 MB / 414.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.1099, allocations: 1.648 MB / 415.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009938/0.1109, allocations: 27.88 kB / 415.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.1118, allocations: 245.6 kB / 416 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1131, allocations: 225.7 kB / 416.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1148, allocations: 0.4954 MB / 416.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002198/0.117, allocations: 1.391 MB / 418.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.1182, allocations: 0.6246 MB / 418.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007956/0.119, allocations: 470.2 kB / 419.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007627/0.1198, allocations: 0.5011 MB / 419.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.1201, allocations: 120 kB / 419.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1204, allocations: 144 kB / 420 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.1207, allocations: 263 kB / 420.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008006/0.1215, allocations: 0.6061 MB / 420.8 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.1239, allocations: 1.622 MB / 422.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.124, allocations: 0 / 422.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.124, allocations: 0 / 422.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-05/0.1241, allocations: 0 / 422.5 MB, free: 8.371 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.003326/0.1274, allocations: 1.5 MB / 424 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.1275, allocations: 8.031 kB / 424 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.1278, allocations: 147.1 kB / 424.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.1293, allocations: 0.7633 MB / 424.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.1294, allocations: 90.34 kB / 425 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.1296, allocations: 120 kB / 425.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.1322, allocations: 1.268 MB / 426.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/0.1323, allocations: 11.94 kB / 426.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.1324, allocations: 52 kB / 426.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.1325, allocations: 32 kB / 426.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1339, allocations: 0.6929 MB / 427.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2112/0.3451, allocations: 6.789 MB / 433.9 MB, free: 17.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.3458, allocations: 266.8 kB / 434.2 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.3462, allocations: 181.2 kB / 434.4 MB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.3463, allocations: 84.11 kB / 434.4 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3463, allocations: 38.94 kB / 434.5 MB, free: 17.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.875e-06/0.3463, allocations: 1.5 kB / 434.5 MB, free: 17.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002262/0.3486, allocations: 1.423 MB / 435.9 MB, free: 16.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3486, allocations: 85.97 kB / 436 MB, free: 16.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.3494, allocations: 0.6655 MB / 436.7 MB, free: 16.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3494, allocations: 29.08 kB / 436.7 MB, free: 16.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.3498, allocations: 0.6986 MB / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.3498, allocations: 122.1 kB / 437.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.35, allocations: 145.4 kB / 437.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3501, allocations: 384.8 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.3504, allocations: 146.7 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.3508, allocations: 0.5501 MB / 438.7 MB, free: 14.81 MB / 350.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.0009768/0.3518, allocations: 0.9586 MB / 439.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.3518, allocations: 4.438 kB / 439.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00137/0.3532, allocations: 0.8027 MB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3532, allocations: 12.97 kB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.3532, allocations: 14.34 kB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.3535, allocations: 83.56 kB / 440.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.3541, allocations: 190.4 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.356, allocations: 3.322 MB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.3564, allocations: 29.94 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.3565, allocations: 43.45 kB / 444.2 MB, free: 10.82 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.0004089/0.3569, allocations: 276.2 kB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.357, allocations: 79.16 kB / 444.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.3571, allocations: 73.59 kB / 444.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3571, allocations: 3.375 kB / 444.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3571, allocations: 1.094 kB / 444.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3572, allocations: 2.125 kB / 444.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.3589, allocations: 1.258 MB / 445.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3589, allocations: 1.375 kB / 445.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.3592, allocations: 68.98 kB / 445.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.3594, allocations: 52.5 kB / 446 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.3594, allocations: 11.66 kB / 446 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.3609, allocations: 3.053 MB / 449 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3609, allocations: 5.406 kB / 449 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.3617, allocations: 0.6381 MB / 449.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.3618, allocations: 143.8 kB / 449.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.3619, allocations: 8.766 kB / 449.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3622, allocations: 17.03 kB / 449.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.3622, allocations: 27.64 kB / 449.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3623, allocations: 12.17 kB / 449.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004907/0.3628, allocations: 437.3 kB / 450.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3628, allocations: 6.844 kB / 450.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008935/0.3637, allocations: 154.2 kB / 450.5 MB, free: 6.742 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.0001135/0.3638, allocations: 107.3 kB / 450.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009703/0.3648, allocations: 0.653 MB / 451.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3648, allocations: 1.5 kB / 451.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.3652, allocations: 361.1 kB / 451.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3657, allocations: 82.8 kB / 451.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.3683, allocations: 1.893 MB / 453.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3688, allocations: 1.033 MB / 454.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3689, allocations: 64.58 kB / 454.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3689, allocations: 0 / 454.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of Templates: time 0.02441/0.3933, allocations: 19.64 MB / 474.3 MB, free: 9.719 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.448309402097948]