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.001534/0.001534, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001527/0.001527, allocations: 173 kB / 25.02 MB, free: 8.418 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.593/1.593, allocations: 158.6 MB / 186.8 MB, free: 2.902 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 8.637e-06/8.637e-06, allocations: 4 kB / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/4.173e-05, allocations: 2.312 kB / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.01105/0.01109, allocations: 5.234 MB / 255.6 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.01609, allocations: 1.652 MB / 257.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.0169, allocations: 39.75 kB / 257.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008276/0.01773, allocations: 249.5 kB / 257.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000938/0.01866, allocations: 229.5 kB / 257.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.02007, allocations: 0.511 MB / 258.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.02223, allocations: 1.426 MB / 259.7 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.02322, allocations: 412.3 kB / 260.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.02466, allocations: 0.7328 MB / 260.8 MB, free: 9.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.02531, allocations: 330.8 kB / 261.2 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.02555, allocations: 124 kB / 261.3 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.02588, allocations: 144 kB / 261.4 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.02616, allocations: 263 kB / 261.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.02674, allocations: 395 kB / 262.1 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.02887, allocations: 1.623 MB / 263.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.02887, allocations: 0 / 263.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.02887, allocations: 3.938 kB / 263.7 MB, free: 6.512 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.02889, allocations: 0 / 263.7 MB, free: 6.512 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.002448/0.03134, allocations: 1.405 MB / 265.1 MB, free: 5.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.03138, allocations: 12.03 kB / 265.1 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.03176, allocations: 243.1 kB / 265.4 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.03311, allocations: 0.7342 MB / 266.1 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/0.03321, allocations: 90.41 kB / 266.2 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.03342, allocations: 131.9 kB / 266.3 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.03572, allocations: 1.314 MB / 267.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.03576, allocations: 11.88 kB / 267.6 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.03587, allocations: 52 kB / 267.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.03591, allocations: 36 kB / 267.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.03737, allocations: 0.6851 MB / 268.4 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007301/0.04467, allocations: 6.337 MB / 274.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.04546, allocations: 249.3 kB / 275 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.04586, allocations: 158.1 kB / 275.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.04597, allocations: 11.94 kB / 275.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.04601, allocations: 42.56 kB / 275.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.04601, allocations: 0 / 275.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002869/0.04888, allocations: 1.272 MB / 276.5 MB, free: 9.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.04895, allocations: 81.11 kB / 276.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/0.04989, allocations: 0.6839 MB / 277.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.04992, allocations: 29.7 kB / 277.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/0.0506, allocations: 0.7016 MB / 278 MB, free: 7.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.05072, allocations: 115.1 kB / 278.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.05094, allocations: 150.5 kB / 278.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.05121, allocations: 386.7 kB / 278.6 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.05153, allocations: 145.9 kB / 278.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007568/0.05229, allocations: 0.5626 MB / 279.3 MB, free: 5.98 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.001352/0.05364, allocations: 0.8017 MB / 280.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.05365, allocations: 8 kB / 280.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001556/0.05521, allocations: 0.8347 MB / 280.9 MB, free: 4.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.05523, allocations: 12 kB / 280.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.05525, allocations: 12 kB / 281 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.05558, allocations: 90.19 kB / 281 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.05628, allocations: 183.7 kB / 281.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/0.05962, allocations: 3.064 MB / 284.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.0601, allocations: 36.11 kB / 284.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.06017, allocations: 44 kB / 284.4 MB, free: 500 kB / 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.0005713/0.06074, allocations: 277.2 kB / 284.6 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.0609, allocations: 87.48 kB / 284.7 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.06105, allocations: 74.34 kB / 284.8 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.06106, allocations: 7.938 kB / 284.8 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.06107, allocations: 0 / 284.8 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.06107, allocations: 0 / 284.8 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.06308, allocations: 1.044 MB / 285.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.06309, allocations: 4 kB / 285.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.06343, allocations: 71.83 kB / 285.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.06365, allocations: 61.77 kB / 286 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.06368, allocations: 11.94 kB / 286 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.06648, allocations: 2.801 MB / 288.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.06648, allocations: 0 / 288.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.06765, allocations: 0.6475 MB / 289.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.06779, allocations: 71.53 kB / 289.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.06784, allocations: 4 kB / 289.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.06813, allocations: 23.92 kB / 289.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.06823, allocations: 23.95 kB / 289.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.06825, allocations: 8 kB / 289.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006811/0.06893, allocations: 435 kB / 290 MB, free: 10.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06893, allocations: 0 / 290 MB, free: 10.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001084/0.07001, allocations: 160 kB / 290.2 MB, free: 10.4 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.0001727/0.07019, allocations: 103.2 kB / 290.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.07146, allocations: 0.6319 MB / 290.9 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.07146, allocations: 0 / 290.9 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.07205, allocations: 349.1 kB / 291.2 MB, free: 9.266 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.07262, allocations: 75.25 kB / 291.3 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.07607, allocations: 1.763 MB / 293.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.07665, allocations: 450.9 kB / 293.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.07694, allocations: 85.94 kB / 293.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.07708, allocations: 52.48 kB / 293.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.07708, allocations: 0 / 293.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of Templates: time 0.01364/0.09071, allocations: 5.278 MB / 298.9 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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.950508557958528]