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.002764/0.002764, allocations: 99.53 kB / 21.73 MB, free: 2.695 MB / 18.57 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.003113/0.003113, allocations: 164.4 kB / 25.03 MB, free: 8.938 MB / 18.57 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.466/1.466, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.12e-05/4.345e-05, allocations: 2.312 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.01097/0.01102, allocations: 5.617 MB / 256 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.01571, allocations: 1.66 MB / 257.7 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.01727, allocations: 47.69 kB / 257.7 MB, free: 456 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.01854, allocations: 245.6 kB / 257.9 MB, free: 208 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.01998, allocations: 233.6 kB / 258.2 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.02153, allocations: 0.5109 MB / 258.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.02387, allocations: 1.426 MB / 260.1 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000865/0.02474, allocations: 416.3 kB / 260.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.02605, allocations: 0.7251 MB / 261.2 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.02658, allocations: 342.8 kB / 261.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.02676, allocations: 120 kB / 261.7 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.02704, allocations: 143.9 kB / 261.8 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.0273, allocations: 271 kB / 262.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.02781, allocations: 395 kB / 262.5 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.03054, allocations: 1.627 MB / 264.1 MB, free: 9.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.193e-05/0.03056, allocations: 3.984 kB / 264.1 MB, free: 9.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.03057, allocations: 0 / 264.1 MB, free: 9.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.03059, allocations: 0 / 264.1 MB, free: 9.992 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.00307/0.03366, allocations: 1.622 MB / 265.7 MB, free: 8.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.03373, allocations: 12.03 kB / 265.7 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.03417, allocations: 243.1 kB / 266 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.03562, allocations: 0.7332 MB / 266.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.03574, allocations: 86.41 kB / 266.8 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.03596, allocations: 127.9 kB / 266.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.03875, allocations: 1.496 MB / 268.4 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.0388, allocations: 7.938 kB / 268.4 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.03891, allocations: 48 kB / 268.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.03895, allocations: 32 kB / 268.5 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.04042, allocations: 0.6734 MB / 269.2 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.05209, allocations: 8.894 MB / 278.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.05303, allocations: 274.2 kB / 278.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.05346, allocations: 167.2 kB / 278.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.05361, allocations: 12 kB / 278.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.05366, allocations: 37.39 kB / 278.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.306e-06/0.05367, allocations: 0 / 278.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.003426/0.05709, allocations: 1.288 MB / 279.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.05718, allocations: 81.11 kB / 279.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.05858, allocations: 0.9013 MB / 280.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.05863, allocations: 33.7 kB / 280.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/0.05954, allocations: 0.7901 MB / 281.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.05972, allocations: 135 kB / 281.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.06003, allocations: 176.2 kB / 282 MB, free: 7.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005153/0.06054, allocations: 0.6093 MB / 282.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.06088, allocations: 137.9 kB / 282.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.06192, allocations: 0.7501 MB / 283.4 MB, free: 5.504 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.002271/0.06419, allocations: 0.9906 MB / 284.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.06421, allocations: 8 kB / 284.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001909/0.06612, allocations: 0.8395 MB / 285.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.06615, allocations: 12 kB / 285.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.06617, allocations: 12.81 kB / 285.3 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/0.06651, allocations: 95.34 kB / 285.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.06715, allocations: 183.7 kB / 285.6 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004306/0.07145, allocations: 4.302 MB / 289.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.07207, allocations: 28 kB / 289.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.07213, allocations: 44 kB / 290 MB, free: 14.46 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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000592/0.07272, allocations: 312.2 kB / 290.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.07287, allocations: 87.48 kB / 290.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.07302, allocations: 74.36 kB / 290.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.07302, allocations: 11.95 kB / 290.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.07304, allocations: 7.938 kB / 290.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.07304, allocations: 0 / 290.4 MB, free: 13.96 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.002677/0.07572, allocations: 1.362 MB / 291.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.07573, allocations: 4 kB / 291.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.07606, allocations: 63.89 kB / 291.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.07629, allocations: 71.47 kB / 291.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.07633, allocations: 15.92 kB / 291.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/0.07985, allocations: 3.944 MB / 295.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.07985, allocations: 7.938 kB / 295.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.08106, allocations: 0.7239 MB / 296.6 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.08122, allocations: 71.47 kB / 296.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.08128, allocations: 8 kB / 296.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.08154, allocations: 15.94 kB / 296.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.08163, allocations: 27.98 kB / 296.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.08166, allocations: 19.92 kB / 296.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007761/0.08244, allocations: 0.5068 MB / 297.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08244, allocations: 0 / 297.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001019/0.08346, allocations: 155.9 kB / 297.4 MB, free: 6.621 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 0.0001895/0.08365, allocations: 115.2 kB / 297.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.08538, allocations: 0.7994 MB / 298.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.08538, allocations: 0 / 298.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.08603, allocations: 467.3 kB / 298.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.0866, allocations: 76.12 kB / 298.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.09024, allocations: 1.773 MB / 300.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.0908, allocations: 446.9 kB / 301.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.09108, allocations: 93.84 kB / 301.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.09121, allocations: 56.48 kB / 301.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of SimCode: time 2.184e-06/0.09121, allocations: 3.938 kB / 301.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of Templates: time 0.01499/0.1062, allocations: 5.288 MB / 306.5 MB, free: 13.41 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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.848577374941669]