Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00139/0.00139, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001443/0.001443, allocations: 164.8 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 177.2 MB / 204.9 MB, free: 9.059 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 51.16 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09631, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007258/0.1036, allocations: 5.299 MB / 384.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1066, allocations: 1.687 MB / 385.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.1069, allocations: 39.69 kB / 385.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005095/0.1074, allocations: 249.6 kB / 386.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.1079, allocations: 225.7 kB / 386.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009466/0.1088, allocations: 0.5149 MB / 386.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1102, allocations: 1.399 MB / 388.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006511/0.1109, allocations: 416.2 kB / 388.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.1114, allocations: 498.1 kB / 389.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.1119, allocations: 437.2 kB / 389.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.1121, allocations: 124 kB / 389.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1123, allocations: 139.9 kB / 389.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1125, allocations: 267 kB / 390.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004705/0.113, allocations: 497.5 kB / 390.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.1146, allocations: 1.645 MB / 392.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1146, allocations: 0 / 392.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1146, allocations: 4 kB / 392.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.1146, allocations: 0 / 392.3 MB, free: 2.246 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.002087/0.1167, allocations: 1.42 MB / 393.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1168, allocations: 12.03 kB / 393.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.1171, allocations: 167 kB / 393.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.1183, allocations: 0.6796 MB / 394.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.1184, allocations: 94.41 kB / 394.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.1186, allocations: 124 kB / 394.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.1206, allocations: 1.314 MB / 396.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.1206, allocations: 7.938 kB / 396.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1207, allocations: 48 kB / 396.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.1208, allocations: 32 kB / 396.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1221, allocations: 0.6929 MB / 396.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.1284, allocations: 6.294 MB / 403.2 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.1291, allocations: 253.2 kB / 403.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.1295, allocations: 161.6 kB / 403.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.863e-05/0.1296, allocations: 12 kB / 403.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1296, allocations: 38.56 kB / 403.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.565e-06/0.1296, allocations: 0 / 403.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002538/0.1321, allocations: 1.271 MB / 404.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.1322, allocations: 85.05 kB / 405 MB, free: 4.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/0.133, allocations: 0.684 MB / 405.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.133, allocations: 29.7 kB / 405.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.1336, allocations: 0.7055 MB / 406.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1337, allocations: 123 kB / 406.5 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.1339, allocations: 146.5 kB / 406.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.1341, allocations: 382.8 kB / 407 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.1344, allocations: 149.9 kB / 407.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/0.1351, allocations: 0.5472 MB / 407.7 MB, free: 1.883 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.001154/0.1362, allocations: 0.8147 MB / 408.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.1362, allocations: 4 kB / 408.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001317/0.1375, allocations: 0.7912 MB / 409.3 MB, free: 68 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.1376, allocations: 16 kB / 409.3 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.1376, allocations: 12 kB / 409.4 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.1379, allocations: 77.69 kB / 409.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.1384, allocations: 187.7 kB / 409.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.1411, allocations: 3.08 MB / 412.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.1415, allocations: 28 kB / 412.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.1416, allocations: 44 kB / 412.8 MB, free: 12.42 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.0004081/0.142, allocations: 265.5 kB / 413 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.1421, allocations: 83.42 kB / 413.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1422, allocations: 78.55 kB / 413.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1422, allocations: 7.984 kB / 413.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1422, allocations: 4 kB / 413.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1422, allocations: 3.938 kB / 413.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.1439, allocations: 1.051 MB / 414.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1439, allocations: 0 / 414.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.1442, allocations: 72 kB / 414.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.1444, allocations: 57.61 kB / 414.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.1444, allocations: 8 kB / 414.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.1466, allocations: 2.793 MB / 417.2 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.1467, allocations: 3.938 kB / 417.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.1476, allocations: 0.6325 MB / 417.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1477, allocations: 63.53 kB / 417.9 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.1477, allocations: 8 kB / 417.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.148, allocations: 15.98 kB / 417.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.148, allocations: 28.02 kB / 417.9 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1481, allocations: 12 kB / 417.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005132/0.1486, allocations: 435 kB / 418.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1486, allocations: 0 / 418.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.1494, allocations: 160 kB / 418.5 MB, free: 6.352 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.000123/0.1495, allocations: 107.2 kB / 418.6 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1506, allocations: 0.6364 MB / 419.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1506, allocations: 4 kB / 419.3 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.1511, allocations: 349.2 kB / 419.6 MB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.1516, allocations: 84.03 kB / 419.7 MB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.1545, allocations: 1.844 MB / 421.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.1549, allocations: 450.9 kB / 422 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.1552, allocations: 89.86 kB / 422.1 MB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1553, allocations: 56.48 kB / 422.1 MB, free: 2.625 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1553, allocations: 0 / 422.1 MB, free: 2.625 MB / 382.1 MB Notification: Performance of Templates: time 0.01239/0.1677, allocations: 5.223 MB / 427.3 MB, free: 13.52 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.445661753066815]