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.0009609/0.0009609, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009924/0.0009924, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9963/0.9963, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.543e-05, allocations: 5.406 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006356/0.006382, allocations: 5.744 MB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.009679, allocations: 1.718 MB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.01034, allocations: 43.69 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.01086, allocations: 253.5 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.01138, allocations: 229.5 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.01238, allocations: 0.5304 MB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.01373, allocations: 1.426 MB / 282.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.01434, allocations: 416.3 kB / 283.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.01521, allocations: 0.7328 MB / 284 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.01559, allocations: 346.7 kB / 284.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.01572, allocations: 124 kB / 284.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.01593, allocations: 136 kB / 284.6 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.0161, allocations: 271 kB / 284.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.01641, allocations: 402.9 kB / 285.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009818/0.01739, allocations: 0.9491 MB / 286.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.0174, allocations: 0 / 286.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.0174, allocations: 0 / 286.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.01741, allocations: 0 / 286.2 MB, free: 4.086 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.001649/0.01906, allocations: 1.517 MB / 287.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.0191, allocations: 8.031 kB / 287.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/0.01949, allocations: 263 kB / 288 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.02042, allocations: 0.737 MB / 288.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.02049, allocations: 90.41 kB / 288.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.02062, allocations: 127.9 kB / 288.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.108/0.1286, allocations: 1.227 MB / 290.2 MB, free: 25.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.1287, allocations: 10.22 kB / 290.2 MB, free: 25.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.177e-05/0.1288, allocations: 51.03 kB / 290.2 MB, free: 25.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.1288, allocations: 31.97 kB / 290.3 MB, free: 25.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.1297, allocations: 457.1 kB / 290.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/0.1334, allocations: 8.394 MB / 299.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.1338, allocations: 207.1 kB / 299.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.134, allocations: 128.8 kB / 299.4 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.003e-05/0.1341, allocations: 13.83 kB / 299.4 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1341, allocations: 40.33 kB / 299.5 MB, free: 18.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.1341, allocations: 2.031 kB / 299.5 MB, free: 18.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001363/0.1355, allocations: 1.146 MB / 300.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.1355, allocations: 85.08 kB / 300.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.1361, allocations: 0.6867 MB / 301.4 MB, free: 17.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1361, allocations: 30.8 kB / 301.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.1364, allocations: 0.748 MB / 302.2 MB, free: 16.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.1365, allocations: 124.1 kB / 302.3 MB, free: 16.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1366, allocations: 148.5 kB / 302.4 MB, free: 16.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1367, allocations: 0.5527 MB / 303 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1369, allocations: 78.55 kB / 303.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.1371, allocations: 0.6711 MB / 303.7 MB, free: 15.16 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.0006161/0.1377, allocations: 0.8647 MB / 304.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.1377, allocations: 4.156 kB / 304.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007756/0.1385, allocations: 0.7073 MB / 305.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1385, allocations: 11.2 kB / 305.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.1386, allocations: 18.69 kB / 305.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.1388, allocations: 80.62 kB / 305.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.1391, allocations: 179.8 kB / 305.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.1404, allocations: 4.131 MB / 309.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.1407, allocations: 29.97 kB / 309.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.1407, allocations: 45.39 kB / 309.8 MB, free: 9.809 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.0001792/0.1409, allocations: 220.2 kB / 310 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.141, allocations: 91.86 kB / 310.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.141, allocations: 71.42 kB / 310.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.141, allocations: 3.25 kB / 310.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.141, allocations: 2.281 kB / 310.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.141, allocations: 1.359 kB / 310.2 MB, free: 9.508 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.001117/0.1422, allocations: 1.084 MB / 311.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1422, allocations: 8.781 kB / 311.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.1424, allocations: 70.84 kB / 311.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.1425, allocations: 53.53 kB / 311.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1425, allocations: 7.578 kB / 311.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.1436, allocations: 3.8 MB / 315.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1436, allocations: 2.062 kB / 315.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.144, allocations: 0.6218 MB / 315.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1441, allocations: 75.66 kB / 315.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1441, allocations: 8.109 kB / 315.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1442, allocations: 19.53 kB / 315.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.1443, allocations: 24.45 kB / 316 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1443, allocations: 7.781 kB / 316 MB, free: 4.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003307/0.1447, allocations: 411 kB / 316.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1447, allocations: 1.375 kB / 316.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006442/0.1453, allocations: 158.9 kB / 316.5 MB, free: 4.227 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.0001/0.1454, allocations: 108.5 kB / 316.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.1461, allocations: 0.6885 MB / 317.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1461, allocations: 0 / 317.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.1463, allocations: 443.9 kB / 317.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1467, allocations: 81.38 kB / 317.8 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1488, allocations: 1.718 MB / 319.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.1489, allocations: 181.6 kB / 319.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.1491, allocations: 81.44 kB / 319.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.1492, allocations: 56.14 kB / 319.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1492, allocations: 0 / 319.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of Templates: time 0.008454/0.1576, allocations: 5.317 MB / 325.2 MB, free: 14.38 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.981749849859625]