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.001038/0.001038, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002592, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008648/0.0008648, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002181, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.871/0.871, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1668/1.038, allocations: 52.5 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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 1.442e-06/1.442e-06, allocations: 0 / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.173e-05, allocations: 3.531 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.009404/0.009426, allocations: 5.658 MB / 245.4 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.01266, allocations: 1.717 MB / 247.1 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.01311, allocations: 39.69 kB / 247.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.01352, allocations: 253.5 kB / 247.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.01393, allocations: 250.6 kB / 247.7 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.01465, allocations: 0.5032 MB / 248.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.01579, allocations: 1.406 MB / 249.6 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.01634, allocations: 432.2 kB / 250 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007542/0.01709, allocations: 0.753 MB / 250.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.01746, allocations: 350.7 kB / 251.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.01759, allocations: 128.9 kB / 251.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.01779, allocations: 135.9 kB / 251.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.01794, allocations: 207.2 kB / 251.6 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.01822, allocations: 332.1 kB / 251.9 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008344/0.01905, allocations: 0.8909 MB / 252.8 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.01906, allocations: 1.781 kB / 252.8 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01906, allocations: 0 / 252.8 MB, free: 9.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.01909, allocations: 3.938 kB / 252.8 MB, free: 9.27 MB / 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.001662/0.02075, allocations: 1.656 MB / 254.4 MB, free: 7.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.02078, allocations: 12.03 kB / 254.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.02098, allocations: 187.8 kB / 254.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.02179, allocations: 0.5625 MB / 255.2 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.02185, allocations: 90.41 kB / 255.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.02197, allocations: 127.9 kB / 255.4 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.02306, allocations: 1.152 MB / 256.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.02309, allocations: 11.94 kB / 256.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.02316, allocations: 56 kB / 256.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.02318, allocations: 35.98 kB / 256.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.02366, allocations: 353.6 kB / 257 MB, free: 4.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.02768, allocations: 5.849 MB / 262.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.03012, allocations: 168.7 kB / 263 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.03029, allocations: 114.1 kB / 263.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.207e-05/0.03035, allocations: 11.98 kB / 263.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.03038, allocations: 38.56 kB / 263.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.03038, allocations: 0 / 263.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001184/0.03156, allocations: 0.7223 MB / 263.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.0316, allocations: 81.11 kB / 264 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.03204, allocations: 0.6127 MB / 264.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.03205, allocations: 29.7 kB / 264.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.03234, allocations: 0.6246 MB / 265.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.03241, allocations: 127 kB / 265.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.03254, allocations: 142.5 kB / 265.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.03267, allocations: 398.5 kB / 265.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.03275, allocations: 57.97 kB / 266 MB, free: 11.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.03405, allocations: 492.1 kB / 266.4 MB, free: 10.7 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.0006525/0.0347, allocations: 0.7197 MB / 267.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.03471, allocations: 4 kB / 267.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006534/0.03536, allocations: 0.5454 MB / 267.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.03538, allocations: 12 kB / 267.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.0354, allocations: 20.09 kB / 267.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.03557, allocations: 69.67 kB / 267.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.03603, allocations: 211.6 kB / 268 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.04071, allocations: 2.782 MB / 270.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.04102, allocations: 35.94 kB / 270.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.04106, allocations: 32 kB / 270.9 MB, free: 5.887 MB / 266.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.0002055/0.04126, allocations: 177.5 kB / 271 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.04134, allocations: 51.95 kB / 271.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.876e-05/0.04142, allocations: 74.34 kB / 271.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.04142, allocations: 4 kB / 271.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.04143, allocations: 4 kB / 271.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.04144, allocations: 7.922 kB / 271.2 MB, free: 5.562 MB / 266.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.001065/0.0425, allocations: 0.7046 MB / 271.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.04251, allocations: 8 kB / 271.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.04276, allocations: 86.47 kB / 272 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.04282, allocations: 59.48 kB / 272 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/0.04596, allocations: 49.67 kB / 272.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.04598, allocations: 15.88 kB / 272.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/0.05098, allocations: 2.55 MB / 274.6 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.05099, allocations: 0 / 274.6 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.05139, allocations: 443.2 kB / 275.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.05143, allocations: 8 kB / 275.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.05161, allocations: 20 kB / 275.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.05167, allocations: 23.95 kB / 275.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.05168, allocations: 11.92 kB / 275.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004906/0.05217, allocations: 276.5 kB / 275.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05217, allocations: 0 / 275.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007781/0.05295, allocations: 156 kB / 275.6 MB, free: 0.9219 MB / 266.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 0.0001197/0.05307, allocations: 100.3 kB / 275.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006027/0.05367, allocations: 0.5387 MB / 276.2 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.094e-05/0.0537, allocations: 21.8 kB / 276.2 MB, free: 240 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.054, allocations: 336 kB / 276.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.05468, allocations: 0.6628 MB / 277.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.0652, allocations: 1.82 MB / 279 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.06537, allocations: 194 kB / 279.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.06562, allocations: 86.06 kB / 279.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.06585, allocations: 163.3 kB / 279.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06585, allocations: 3.938 kB / 279.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of Templates: time 0.0169/0.08275, allocations: 5.807 MB / 285.3 MB, free: 7.09 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5728159891441464]