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.001545/0.001545, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.00125/0.00125, allocations: 158.9 kB / 25.75 MB, free: 8.949 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 0.998/0.998, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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 1.352e-06/1.352e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.098e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005362/0.005393, allocations: 5.644 MB / 256.8 MB, free: 2.117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.007727, allocations: 1.68 MB / 258.4 MB, free: 436 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.008117, allocations: 39.69 kB / 258.5 MB, free: 396 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.008489, allocations: 249.5 kB / 258.7 MB, free: 144 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.008818, allocations: 229.7 kB / 259 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.009519, allocations: 0.5108 MB / 259.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.01047, allocations: 1.426 MB / 260.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.01098, allocations: 420.2 kB / 261.3 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.01159, allocations: 0.7251 MB / 262 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.01188, allocations: 346.7 kB / 262.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.01198, allocations: 120 kB / 262.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.01213, allocations: 136 kB / 262.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.01226, allocations: 274.9 kB / 262.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.0125, allocations: 391 kB / 263.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.0132, allocations: 0.9414 MB / 264.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.0132, allocations: 0 / 264.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.0132, allocations: 0 / 264.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.01321, allocations: 0 / 264.2 MB, free: 10.62 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.001404/0.01462, allocations: 1.513 MB / 265.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.01465, allocations: 12.03 kB / 265.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.01484, allocations: 239.1 kB / 266 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.01555, allocations: 0.7448 MB / 266.7 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.0156, allocations: 86.41 kB / 266.8 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.01569, allocations: 119.9 kB / 266.9 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.0168, allocations: 1.235 MB / 268.1 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.01683, allocations: 7.938 kB / 268.2 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.01688, allocations: 56 kB / 268.2 MB, free: 6.309 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.0169, allocations: 32 kB / 268.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.01754, allocations: 450.8 kB / 268.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006654/0.02419, allocations: 8.405 MB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.02472, allocations: 206.3 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.02494, allocations: 134.9 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.02505, allocations: 11.98 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.02508, allocations: 45.39 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 4.128e-06/0.02508, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.00164/0.02672, allocations: 1.146 MB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.02676, allocations: 85.09 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.02734, allocations: 0.6748 MB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.02736, allocations: 29.7 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.02773, allocations: 0.751 MB / 280.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.0278, allocations: 119.1 kB / 280.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.02794, allocations: 152.2 kB / 280.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.02812, allocations: 0.5547 MB / 281 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.02826, allocations: 81.94 kB / 281.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.02868, allocations: 0.672 MB / 281.7 MB, free: 7.945 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.0007479/0.02943, allocations: 0.8653 MB / 282.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.02944, allocations: 4 kB / 282.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008176/0.03025, allocations: 0.7112 MB / 283.3 MB, free: 6.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.03027, allocations: 8 kB / 283.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.03029, allocations: 16 kB / 283.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.0305, allocations: 79.34 kB / 283.4 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.03083, allocations: 180 kB / 283.6 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.03305, allocations: 4.127 MB / 287.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.03333, allocations: 31.98 kB / 287.7 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.03337, allocations: 44 kB / 287.8 MB, free: 1.352 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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.03365, allocations: 216.3 kB / 288 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.03376, allocations: 95.41 kB / 288.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/0.03385, allocations: 66.36 kB / 288.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.03386, allocations: 7.938 kB / 288.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.03387, allocations: 0 / 288.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.03387, allocations: 3.984 kB / 288.2 MB, free: 0.9531 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.001363/0.03524, allocations: 1.088 MB / 289.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03524, allocations: 0 / 289.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.03542, allocations: 59.95 kB / 289.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.03557, allocations: 67.3 kB / 289.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.03559, allocations: 11.94 kB / 289.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.03735, allocations: 3.8 MB / 293.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.03735, allocations: 0 / 293.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.03787, allocations: 0.6223 MB / 293.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.03793, allocations: 71.58 kB / 293.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.03797, allocations: 8 kB / 293.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.0381, allocations: 15.94 kB / 293.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.03816, allocations: 27.89 kB / 293.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.03818, allocations: 11.98 kB / 293.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003199/0.0385, allocations: 407 kB / 294.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.0385, allocations: 0 / 294.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006599/0.03916, allocations: 160 kB / 294.5 MB, free: 10.27 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.0001463/0.0393, allocations: 111.2 kB / 294.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007066/0.04001, allocations: 0.6834 MB / 295.3 MB, free: 9.438 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04001, allocations: 5.625 kB / 295.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.04028, allocations: 439.2 kB / 295.7 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.04066, allocations: 79.47 kB / 295.8 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.04285, allocations: 1.699 MB / 297.5 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.04297, allocations: 181.8 kB / 297.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.04312, allocations: 77.94 kB / 297.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.0432, allocations: 56.48 kB / 297.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of SimCode: time 1.773e-06/0.04321, allocations: 4 kB / 297.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of Templates: time 0.009514/0.05272, allocations: 5.309 MB / 303.1 MB, free: 1.531 MB / 282.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.00061357091181]