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.0009649/0.0009649, allocations: 87.67 kB / 21.19 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.001067/0.001067, allocations: 156.5 kB / 24.55 MB, free: 12 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 1/1, allocations: 177 MB / 204.8 MB, free: 5.598 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.754e-06/1.754e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.314e-05, allocations: 2.312 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007099/0.007122, allocations: 5.751 MB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.01088, allocations: 1.71 MB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.01144, allocations: 43.69 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.01195, allocations: 253.5 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.0125, allocations: 245.3 kB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.01362, allocations: 0.5265 MB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.01527, allocations: 1.422 MB / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/0.01596, allocations: 424.2 kB / 283.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009148/0.01687, allocations: 0.7367 MB / 284 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.01732, allocations: 350.7 kB / 284.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.01748, allocations: 120 kB / 284.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.01772, allocations: 140 kB / 284.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.0179, allocations: 271 kB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006474/0.01855, allocations: 402.9 kB / 285.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.01956, allocations: 0.9414 MB / 286.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01956, allocations: 3.938 kB / 286.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01957, allocations: 0 / 286.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.01959, allocations: 0 / 286.2 MB, free: 4.066 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.001884/0.02147, allocations: 1.517 MB / 287.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.02152, allocations: 8.031 kB / 287.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.02198, allocations: 263 kB / 288 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.02308, allocations: 0.7448 MB / 288.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.02315, allocations: 86.41 kB / 288.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.02331, allocations: 123.9 kB / 289 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.106/0.1293, allocations: 1.232 MB / 290.2 MB, free: 25.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.1293, allocations: 5.375 kB / 290.2 MB, free: 25.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.1294, allocations: 55.69 kB / 290.3 MB, free: 25.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.1294, allocations: 34.97 kB / 290.3 MB, free: 25.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.1302, allocations: 454.3 kB / 290.7 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.1338, allocations: 8.39 MB / 299.1 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.1342, allocations: 209.4 kB / 299.3 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1344, allocations: 128 kB / 299.4 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/0.1345, allocations: 15.14 kB / 299.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1345, allocations: 39.66 kB / 299.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.355e-06/0.1345, allocations: 3.891 kB / 299.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001319/0.1358, allocations: 1.141 MB / 300.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.1358, allocations: 85.05 kB / 300.7 MB, free: 17.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.1365, allocations: 0.6928 MB / 301.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1365, allocations: 31.14 kB / 301.5 MB, free: 17.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.1369, allocations: 0.7455 MB / 302.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.1369, allocations: 118.3 kB / 302.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.1371, allocations: 153.3 kB / 302.5 MB, free: 16.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1372, allocations: 0.5522 MB / 303 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1374, allocations: 80.62 kB / 303.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.1377, allocations: 0.6619 MB / 303.8 MB, free: 15.13 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.000629/0.1383, allocations: 0.8587 MB / 304.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1383, allocations: 7.719 kB / 304.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008493/0.1392, allocations: 0.7189 MB / 305.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1392, allocations: 15.05 kB / 305.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.1392, allocations: 15.38 kB / 305.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.1395, allocations: 74.45 kB / 305.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.1398, allocations: 186.5 kB / 305.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.1412, allocations: 4.13 MB / 309.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.1414, allocations: 29.95 kB / 309.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.1415, allocations: 40.66 kB / 309.8 MB, free: 9.789 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.0001993/0.1417, allocations: 227.3 kB / 310 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.1417, allocations: 88.42 kB / 310.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.1418, allocations: 69.45 kB / 310.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1418, allocations: 5.062 kB / 310.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1418, allocations: 3.531 kB / 310.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1418, allocations: 3.203 kB / 310.2 MB, free: 9.484 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.001021/0.1428, allocations: 1.081 MB / 311.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1428, allocations: 5.031 kB / 311.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.143, allocations: 67.12 kB / 311.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.1431, allocations: 53.86 kB / 311.4 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1431, allocations: 7.453 kB / 311.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009495/0.1441, allocations: 3.799 MB / 315.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1441, allocations: 5.844 kB / 315.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.1445, allocations: 0.6263 MB / 315.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1446, allocations: 76.34 kB / 315.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.1446, allocations: 10.81 kB / 315.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1447, allocations: 14.45 kB / 316 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.1448, allocations: 25.67 kB / 316 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1448, allocations: 7.766 kB / 316 MB, free: 4.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.1451, allocations: 416 kB / 316.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1451, allocations: 1.844 kB / 316.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005448/0.1457, allocations: 153.5 kB / 316.5 MB, free: 4.203 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 8.363e-05/0.1458, allocations: 108.4 kB / 316.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000555/0.1463, allocations: 0.6827 MB / 317.3 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1463, allocations: 1.375 kB / 317.3 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.1465, allocations: 443.3 kB / 317.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1469, allocations: 90.66 kB / 317.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1488, allocations: 1.712 MB / 319.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.1489, allocations: 180.1 kB / 319.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.1491, allocations: 88.22 kB / 319.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.1491, allocations: 58.56 kB / 319.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1491, allocations: 4 kB / 319.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Templates: time 0.008096/0.1572, allocations: 5.531 MB / 325.4 MB, free: 14.12 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.8906568931415677]