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.001033/0.001033, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001108/0.001108, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9753/0.9753, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 2.235e-06/2.235e-06, allocations: 0 / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.156e-05, allocations: 2.312 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008392/0.008423, allocations: 5.739 MB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.01256, allocations: 1.71 MB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.01395, allocations: 43.69 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008349/0.01478, allocations: 253.5 kB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.01595, allocations: 253.3 kB / 281 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.01788, allocations: 0.5187 MB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.01998, allocations: 1.426 MB / 282.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.02064, allocations: 424.2 kB / 283.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.02157, allocations: 0.7329 MB / 284.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.02198, allocations: 346.7 kB / 284.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.02211, allocations: 120 kB / 284.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.02234, allocations: 147.9 kB / 284.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.02249, allocations: 274.9 kB / 285 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.02285, allocations: 395 kB / 285.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.02386, allocations: 0.9491 MB / 286.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.02387, allocations: 0 / 286.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02387, allocations: 0 / 286.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.0239, allocations: 0 / 286.3 MB, free: 4.133 MB / 266.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.001725/0.02562, allocations: 1.517 MB / 287.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.02567, allocations: 8.031 kB / 287.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.02605, allocations: 263 kB / 288.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.02717, allocations: 0.7409 MB / 288.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.02722, allocations: 90.41 kB / 288.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.02733, allocations: 127.9 kB / 289 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1143/0.1416, allocations: 1.224 MB / 290.2 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.1417, allocations: 11.81 kB / 290.3 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.1418, allocations: 51.12 kB / 290.3 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.1418, allocations: 33.47 kB / 290.3 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1429, allocations: 451.6 kB / 290.8 MB, free: 25.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004263/0.1471, allocations: 8.402 MB / 299.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.1476, allocations: 205.8 kB / 299.4 MB, free: 18.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.1479, allocations: 127.4 kB / 299.5 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/0.148, allocations: 9.438 kB / 299.5 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.148, allocations: 45.34 kB / 299.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.366e-06/0.148, allocations: 0.6562 kB / 299.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001641/0.1496, allocations: 1.142 MB / 300.7 MB, free: 17.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.1497, allocations: 88.14 kB / 300.8 MB, free: 17.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.1503, allocations: 0.6847 MB / 301.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1503, allocations: 32.64 kB / 301.5 MB, free: 17.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.1507, allocations: 0.7481 MB / 302.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.1507, allocations: 122.4 kB / 302.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1509, allocations: 148.3 kB / 302.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.151, allocations: 0.5516 MB / 303.1 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1512, allocations: 83.27 kB / 303.2 MB, free: 16.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.1515, allocations: 0.6669 MB / 303.8 MB, free: 15.38 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.0007309/0.1522, allocations: 0.8651 MB / 304.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.1522, allocations: 8.625 kB / 304.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009828/0.1532, allocations: 0.7057 MB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.1532, allocations: 10.72 kB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.1532, allocations: 16.77 kB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.1535, allocations: 84 kB / 305.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.1539, allocations: 183.8 kB / 305.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.1556, allocations: 4.13 MB / 309.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.156, allocations: 29.38 kB / 309.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.156, allocations: 47.25 kB / 309.9 MB, free: 10.03 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.0002277/0.1562, allocations: 226 kB / 310.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1563, allocations: 88 kB / 310.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.339e-05/0.1564, allocations: 78.12 kB / 310.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1564, allocations: 4.469 kB / 310.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.1564, allocations: 2.281 kB / 310.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1564, allocations: 1.219 kB / 310.3 MB, free: 9.719 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.001331/0.1578, allocations: 1.073 MB / 311.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1578, allocations: 5.594 kB / 311.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.158, allocations: 62.22 kB / 311.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/0.1581, allocations: 61.75 kB / 311.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1582, allocations: 8 kB / 311.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.1594, allocations: 3.801 MB / 315.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1594, allocations: 1.594 kB / 315.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.1599, allocations: 0.6328 MB / 315.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.1599, allocations: 67.23 kB / 316 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.16, allocations: 7 kB / 316 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1602, allocations: 17.09 kB / 316 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.1602, allocations: 28.89 kB / 316 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1603, allocations: 12.36 kB / 316.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003779/0.1606, allocations: 411.4 kB / 316.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1606, allocations: 0 / 316.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008413/0.1615, allocations: 154.9 kB / 316.6 MB, free: 4.441 MB / 266.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.0001119/0.1616, allocations: 106.9 kB / 316.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007126/0.1623, allocations: 0.6916 MB / 317.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1623, allocations: 1.375 kB / 317.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.1626, allocations: 440.6 kB / 317.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.163, allocations: 75.56 kB / 317.9 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.1655, allocations: 1.726 MB / 319.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.1656, allocations: 178.2 kB / 319.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.1658, allocations: 83.77 kB / 319.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.1659, allocations: 63.11 kB / 320 MB, free: 2.289 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1659, allocations: 0 / 320 MB, free: 2.289 MB / 266.7 MB Notification: Performance of Templates: time 0.01063/0.1765, allocations: 5.542 MB / 325.5 MB, free: 14.46 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.9223953052423894]