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.001314/0.001314, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.00151/0.00151, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001886/0.001886, allocations: 61.59 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.1009, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007114/0.1081, allocations: 5.302 MB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.1115, allocations: 1.687 MB / 385.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.1119, allocations: 39.69 kB / 386 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.1124, allocations: 249.6 kB / 386.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.1129, allocations: 225.7 kB / 386.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.1138, allocations: 0.5188 MB / 386.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.1152, allocations: 1.387 MB / 388.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006502/0.1158, allocations: 420.2 kB / 388.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.1164, allocations: 498.1 kB / 389.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.1169, allocations: 433.2 kB / 389.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.1171, allocations: 124 kB / 389.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1173, allocations: 147.9 kB / 389.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1175, allocations: 255.1 kB / 390.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.118, allocations: 493.4 kB / 390.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.1196, allocations: 1.653 MB / 392.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1196, allocations: 0 / 392.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1196, allocations: 0 / 392.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1196, allocations: 0 / 392.3 MB, free: 2.008 MB / 350.1 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.00206/0.1217, allocations: 1.428 MB / 393.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1217, allocations: 8.031 kB / 393.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.1221, allocations: 167 kB / 393.9 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.1233, allocations: 0.6873 MB / 394.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/0.1234, allocations: 90.41 kB / 394.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.1235, allocations: 119.9 kB / 394.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1255, allocations: 1.322 MB / 396.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.1255, allocations: 11.88 kB / 396.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1256, allocations: 52 kB / 396.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.1256, allocations: 32 kB / 396.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1269, allocations: 0.6851 MB / 396.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/0.1326, allocations: 6.298 MB / 403.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.1333, allocations: 249.2 kB / 403.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.1336, allocations: 157.7 kB / 403.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.1337, allocations: 11.98 kB / 403.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1337, allocations: 34.56 kB / 403.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.1337, allocations: 0 / 403.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0023/0.136, allocations: 1.282 MB / 404.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1361, allocations: 81.05 kB / 405 MB, free: 4.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007481/0.1368, allocations: 0.684 MB / 405.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1369, allocations: 29.7 kB / 405.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.1374, allocations: 0.7016 MB / 406.4 MB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.1375, allocations: 123 kB / 406.5 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1376, allocations: 154.5 kB / 406.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1378, allocations: 382.8 kB / 407.1 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.1381, allocations: 149.9 kB / 407.2 MB, free: 2.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.1387, allocations: 0.5433 MB / 407.7 MB, free: 1.637 MB / 366.1 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.001083/0.1398, allocations: 0.8025 MB / 408.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.1398, allocations: 8 kB / 408.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001285/0.1411, allocations: 0.7939 MB / 409.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1411, allocations: 12 kB / 409.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.1411, allocations: 16 kB / 409.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.1413, allocations: 78.38 kB / 409.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.1419, allocations: 195.6 kB / 409.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.1444, allocations: 3.052 MB / 412.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.1448, allocations: 44.11 kB / 412.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.1448, allocations: 40 kB / 412.8 MB, free: 12.19 MB / 382.1 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.0003542/0.1452, allocations: 269.5 kB / 413 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1453, allocations: 83.42 kB / 413.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.1454, allocations: 74.34 kB / 413.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1454, allocations: 4 kB / 413.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1454, allocations: 0 / 413.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1454, allocations: 3.938 kB / 413.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.1471, allocations: 1.059 MB / 414.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1471, allocations: 4 kB / 414.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.1474, allocations: 63.95 kB / 414.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.1476, allocations: 57.62 kB / 414.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1476, allocations: 16.08 kB / 414.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.1497, allocations: 2.782 MB / 417.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.1498, allocations: 7.969 kB / 417.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.1506, allocations: 0.6365 MB / 417.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.1507, allocations: 67.45 kB / 417.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.1508, allocations: 8.062 kB / 417.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.151, allocations: 15.98 kB / 417.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.1511, allocations: 23.95 kB / 417.9 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1511, allocations: 12 kB / 418 MB, free: 6.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004872/0.1516, allocations: 435 kB / 418.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1516, allocations: 0 / 418.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000773/0.1524, allocations: 160 kB / 418.5 MB, free: 6.117 MB / 382.1 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.0001321/0.1525, allocations: 107.2 kB / 418.6 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1535, allocations: 0.6368 MB / 419.3 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1535, allocations: 4.25 kB / 419.3 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.154, allocations: 349.2 kB / 419.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1545, allocations: 86.39 kB / 419.7 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.1573, allocations: 1.843 MB / 421.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.1578, allocations: 454.9 kB / 422 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.158, allocations: 89.86 kB / 422.1 MB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1582, allocations: 56.48 kB / 422.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1582, allocations: 0 / 422.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of Templates: time 0.01292/0.1711, allocations: 5.214 MB / 427.4 MB, free: 13.29 MB / 398.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.529521808028221]