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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 99.73 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 173.3 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 224 MB, free: 13.13 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005435, allocations: 12 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005191/0.1162, allocations: 4.901 MB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1192, allocations: 1.653 MB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004624/0.1197, allocations: 27.81 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1199, allocations: 126.9 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004919/0.1204, allocations: 263.1 kB / 335.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.1211, allocations: 331.6 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009981/0.1221, allocations: 0.8894 MB / 336.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.1228, allocations: 461.9 kB / 337 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.1232, allocations: 354.3 kB / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003878/0.1235, allocations: 389.7 kB / 337.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.1236, allocations: 52 kB / 337.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1238, allocations: 56 kB / 337.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1239, allocations: 179.2 kB / 338 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1241, allocations: 241 kB / 338.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009387/0.1251, allocations: 1.153 MB / 339.3 MB, free: 9.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1251, allocations: 4 kB / 339.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1251, allocations: 0 / 339.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.1251, allocations: 0 / 339.4 MB, free: 9.004 MB / 286.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.001766/0.1269, allocations: 1.244 MB / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1269, allocations: 12.03 kB / 340.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.1272, allocations: 138.3 kB / 340.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.1282, allocations: 0.6892 MB / 341.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-05/0.1283, allocations: 94.36 kB / 341.5 MB, free: 6.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.1285, allocations: 131.8 kB / 341.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1304, allocations: 1.244 MB / 342.9 MB, free: 5.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.1305, allocations: 7.938 kB / 342.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.612e-05/0.1306, allocations: 51.94 kB / 343 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.1306, allocations: 32 kB / 343 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1318, allocations: 0.6929 MB / 343.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005851/0.1377, allocations: 6.828 MB / 350.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.1384, allocations: 281.1 kB / 350.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.1386, allocations: 85.19 kB / 350.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1386, allocations: 34.56 kB / 350.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.1386, allocations: 4 kB / 350.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002362/0.141, allocations: 1.409 MB / 352.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1411, allocations: 81.11 kB / 352.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/0.1418, allocations: 0.6568 MB / 353 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1418, allocations: 25.7 kB / 353.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.1422, allocations: 0.6798 MB / 353.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1423, allocations: 118.4 kB / 353.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.1424, allocations: 19.94 kB / 353.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1425, allocations: 390.7 kB / 354.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.1428, allocations: 141.9 kB / 354.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.1433, allocations: 0.5507 MB / 355 MB, free: 8.383 MB / 302.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.0005815/0.1439, allocations: 442.5 kB / 355.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.1439, allocations: 7.953 kB / 355.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001181/0.1451, allocations: 0.7995 MB / 356.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1451, allocations: 15.98 kB / 356.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.1452, allocations: 16 kB / 356.2 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.1454, allocations: 81.67 kB / 356.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.1459, allocations: 191.7 kB / 356.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.1483, allocations: 2.993 MB / 359.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.1486, allocations: 36 kB / 359.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.1487, allocations: 40 kB / 359.6 MB, free: 3.453 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004712/0.1492, allocations: 273.6 kB / 359.8 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1493, allocations: 75.06 kB / 359.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1494, allocations: 74.47 kB / 360 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1494, allocations: 4 kB / 360 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.1494, allocations: 8 kB / 360 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1495, allocations: 3.953 kB / 360 MB, free: 3.008 MB / 302.1 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.001861/0.1513, allocations: 1.347 MB / 361.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.1513, allocations: 4.062 kB / 361.3 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.1517, allocations: 67.89 kB / 361.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.1518, allocations: 57.69 kB / 361.5 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1519, allocations: 8 kB / 361.5 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.1538, allocations: 2.791 MB / 364.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1539, allocations: 4.031 kB / 364.3 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.155, allocations: 0.6824 MB / 365 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.1553, allocations: 140.2 kB / 365.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.1553, allocations: 20.05 kB / 365.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1556, allocations: 16 kB / 365.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.1557, allocations: 27.97 kB / 365.2 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1557, allocations: 7.984 kB / 365.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006514/0.1563, allocations: 435 kB / 365.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1563, allocations: 0 / 365.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009226/0.1573, allocations: 152 kB / 365.7 MB, free: 12.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.1575, allocations: 119.8 kB / 365.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1587, allocations: 0.6582 MB / 366.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1587, allocations: 0 / 366.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.1593, allocations: 374.2 kB / 366.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1598, allocations: 71.25 kB / 366.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.1632, allocations: 2.306 MB / 369.3 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.164, allocations: 1.062 MB / 370.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.1643, allocations: 86.02 kB / 370.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.1644, allocations: 59.41 kB / 370.5 MB, free: 8 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1645, allocations: 0 / 370.5 MB, free: 8 MB / 318.1 MB Notification: Performance of Templates: time 0.0115/0.176, allocations: 5.002 MB / 375.5 MB, free: 3 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches