Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 80.06 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 141.5 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9909/0.9909, allocations: 173.3 MB / 201.1 MB, free: 8.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 268 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.432e-05/3.582e-05, allocations: 2.312 kB / 268 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005211/0.005247, allocations: 5.713 MB / 273.7 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.008006, allocations: 1.64 MB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006982/0.008705, allocations: 43.69 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.009218, allocations: 245.6 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.009726, allocations: 229.5 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.01066, allocations: 0.5148 MB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.01176, allocations: 1.422 MB / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000525/0.01228, allocations: 412.3 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.0129, allocations: 0.729 MB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.01323, allocations: 346.8 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.01334, allocations: 124 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.01351, allocations: 139.9 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.01367, allocations: 274.9 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.01392, allocations: 395 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008349/0.01476, allocations: 0.9298 MB / 281.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.01476, allocations: 0 / 281.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01477, allocations: 7.938 kB / 281.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.01478, allocations: 0 / 281.1 MB, free: 8.926 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.001411/0.01619, allocations: 1.513 MB / 282.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.01623, allocations: 8.922 kB / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.01645, allocations: 243.1 kB / 282.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/0.01725, allocations: 0.7331 MB / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.0173, allocations: 86.41 kB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.01742, allocations: 131.9 kB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.01865, allocations: 1.239 MB / 285.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.01868, allocations: 7.938 kB / 285.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.01874, allocations: 52 kB / 285.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.01876, allocations: 36 kB / 285.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.01941, allocations: 454.8 kB / 285.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1287/0.1481, allocations: 8.384 MB / 294 MB, free: 23.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.1486, allocations: 215.4 kB / 294.2 MB, free: 23.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1488, allocations: 128.8 kB / 294.3 MB, free: 23.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.1489, allocations: 9.5 kB / 294.3 MB, free: 23.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1489, allocations: 45.67 kB / 294.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/0.149, allocations: 0.625 kB / 294.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001588/0.1505, allocations: 1.14 MB / 295.5 MB, free: 22.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.1506, allocations: 85.05 kB / 295.6 MB, free: 22.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.1512, allocations: 0.6771 MB / 296.3 MB, free: 22.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1512, allocations: 31.58 kB / 296.3 MB, free: 22.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1515, allocations: 0.7525 MB / 297.1 MB, free: 21.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.1516, allocations: 124.7 kB / 297.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1517, allocations: 152.5 kB / 297.3 MB, free: 21.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1519, allocations: 0.5527 MB / 297.9 MB, free: 21.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.152, allocations: 79.5 kB / 298 MB, free: 21.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.1523, allocations: 0.6627 MB / 298.6 MB, free: 20.47 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.0006611/0.153, allocations: 0.8669 MB / 299.5 MB, free: 19.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.153, allocations: 3.438 kB / 299.5 MB, free: 19.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008637/0.1538, allocations: 0.7074 MB / 300.2 MB, free: 19.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1539, allocations: 15.19 kB / 300.2 MB, free: 19.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.1539, allocations: 17.59 kB / 300.2 MB, free: 19.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.1541, allocations: 81.86 kB / 300.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.1545, allocations: 179.5 kB / 300.5 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.1559, allocations: 4.133 MB / 304.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.1562, allocations: 32.06 kB / 304.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.1563, allocations: 43.69 kB / 304.7 MB, free: 15.54 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.0002071/0.1565, allocations: 230.7 kB / 304.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.1565, allocations: 90.89 kB / 305 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.1566, allocations: 75.75 kB / 305.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1566, allocations: 4.5 kB / 305.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1566, allocations: 1.156 kB / 305.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1566, allocations: 2.219 kB / 305.1 MB, free: 15.23 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.00121/0.1578, allocations: 1.073 MB / 306.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1578, allocations: 1.281 kB / 306.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.158, allocations: 66.28 kB / 306.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.1582, allocations: 56.91 kB / 306.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1582, allocations: 9.562 kB / 306.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1592, allocations: 3.803 MB / 310.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1592, allocations: 1.438 kB / 310.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.1597, allocations: 0.619 MB / 310.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.1597, allocations: 67.75 kB / 310.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1598, allocations: 7.75 kB / 310.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1599, allocations: 23.31 kB / 310.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.16, allocations: 23.86 kB / 310.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.16, allocations: 12.33 kB / 310.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003903/0.1604, allocations: 410 kB / 311.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1604, allocations: 0 / 311.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007289/0.1611, allocations: 154.3 kB / 311.4 MB, free: 9.957 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.000126/0.1612, allocations: 106.9 kB / 311.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.162, allocations: 0.6917 MB / 312.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.162, allocations: 1.344 kB / 312.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.1622, allocations: 440.3 kB / 312.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1626, allocations: 84.3 kB / 312.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.1651, allocations: 1.706 MB / 314.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.1652, allocations: 175.3 kB / 314.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.1654, allocations: 83.11 kB / 314.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.1655, allocations: 61.2 kB / 314.7 MB, free: 7.824 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1655, allocations: 0 / 314.7 MB, free: 7.824 MB / 266.7 MB Notification: Performance of Templates: time 0.009823/0.1754, allocations: 5.301 MB / 320 MB, free: 5.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.1743830339983106]