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.0009936/0.0009936, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009864/0.00198, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007026/0.0007026, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000844/0.001547, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9459/0.9459, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09722/1.043, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.222e-06/1.222e-06, allocations: 0 / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.503e-05, allocations: 2.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00565/0.005665, allocations: 5.688 MB / 250.7 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.008095, allocations: 1.803 MB / 252.5 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.008454, allocations: 43.69 kB / 252.6 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.008773, allocations: 253.5 kB / 252.8 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.009106, allocations: 237.3 kB / 253.1 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.009748, allocations: 0.5303 MB / 253.6 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009162/0.01066, allocations: 1.391 MB / 255 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.01112, allocations: 436.2 kB / 255.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006567/0.01177, allocations: 0.7763 MB / 256.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.01205, allocations: 342.8 kB / 256.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.68e-05/0.01215, allocations: 120 kB / 256.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.01231, allocations: 144 kB / 256.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.01243, allocations: 211.2 kB / 257 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.01265, allocations: 335.2 kB / 257.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.01327, allocations: 0.8792 MB / 258.2 MB, free: 400 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.01328, allocations: 0 / 258.2 MB, free: 400 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01329, allocations: 0 / 258.2 MB, free: 400 kB / 250.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.01331, allocations: 3.938 kB / 258.2 MB, free: 396 kB / 250.7 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.00126/0.01457, allocations: 1.661 MB / 259.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.01459, allocations: 8.625 kB / 259.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.01486, allocations: 288.9 kB / 260.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.01548, allocations: 0.5742 MB / 260.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.01553, allocations: 94.34 kB / 260.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.01561, allocations: 119.9 kB / 260.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.01639, allocations: 1.076 MB / 262 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.01642, allocations: 11.89 kB / 262 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.01646, allocations: 56 kB / 262.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.01648, allocations: 32 kB / 262.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.01684, allocations: 349.6 kB / 262.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.01974, allocations: 5.861 MB / 268.3 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.02001, allocations: 157 kB / 268.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.02014, allocations: 113.6 kB / 268.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.02019, allocations: 11.94 kB / 268.6 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.02021, allocations: 35.06 kB / 268.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.02021, allocations: 0 / 268.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008628/0.02107, allocations: 0.7117 MB / 269.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.0211, allocations: 81.11 kB / 269.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.02143, allocations: 0.6243 MB / 270 MB, free: 3.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.02144, allocations: 29.7 kB / 270.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.02167, allocations: 0.6246 MB / 270.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.02173, allocations: 123 kB / 270.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.02183, allocations: 146.5 kB / 270.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.02193, allocations: 398.5 kB / 271.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.02198, allocations: 57.97 kB / 271.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.02221, allocations: 492.2 kB / 271.9 MB, free: 1.777 MB / 266.7 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.0004568/0.02266, allocations: 0.6739 MB / 272.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.02267, allocations: 4 kB / 272.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004663/0.02314, allocations: 0.5491 MB / 273.1 MB, free: 352 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.02315, allocations: 16.22 kB / 273.1 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.02316, allocations: 12 kB / 273.1 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.02329, allocations: 73.67 kB / 273.2 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.02361, allocations: 207.6 kB / 273.4 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.02481, allocations: 2.783 MB / 276.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.02499, allocations: 31.94 kB / 276.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.02501, allocations: 36 kB / 276.2 MB, free: 13.02 MB / 282.7 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,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.02516, allocations: 181.5 kB / 276.4 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.02521, allocations: 47.94 kB / 276.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.02528, allocations: 70.55 kB / 276.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.02528, allocations: 4 kB / 276.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.02528, allocations: 3.984 kB / 276.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.02529, allocations: 7.922 kB / 276.6 MB, free: 12.7 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.02597, allocations: 0.7123 MB / 277.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.02597, allocations: 4.094 kB / 277.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.02617, allocations: 83.88 kB / 277.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.02622, allocations: 67.47 kB / 277.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.9e-05/0.0263, allocations: 41.69 kB / 277.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.02632, allocations: 11.94 kB / 277.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.02736, allocations: 2.557 MB / 280 MB, free: 9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02736, allocations: 0 / 280 MB, free: 9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.02766, allocations: 451 kB / 280.5 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.02769, allocations: 12.06 kB / 280.5 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.02781, allocations: 15.98 kB / 280.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.02785, allocations: 31.95 kB / 280.5 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.02786, allocations: 11.94 kB / 280.5 MB, free: 8.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.02802, allocations: 276.5 kB / 280.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02802, allocations: 0 / 280.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.02846, allocations: 160 kB / 281 MB, free: 8.031 MB / 282.7 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 8.364e-05/0.02854, allocations: 88.36 kB / 281 MB, free: 7.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.02896, allocations: 0.5365 MB / 281.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.432e-05/0.02899, allocations: 21.8 kB / 281.6 MB, free: 7.355 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.02917, allocations: 311.4 kB / 281.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.02946, allocations: 131.2 kB / 282 MB, free: 6.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.0326, allocations: 1.829 MB / 283.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.03272, allocations: 197.9 kB / 284.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.03288, allocations: 90 kB / 284.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.03304, allocations: 155.3 kB / 284.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03304, allocations: 0 / 284.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of Templates: time 0.101/0.134, allocations: 6.022 MB / 290.3 MB, free: 35.51 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.775127248838544]