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.0009217/0.0009217, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.000894/0.000894, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 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.8842/0.8842, allocations: 173.4 MB / 201.5 MB, free: 8.758 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.263e-06/1.263e-06, allocations: 0 / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.439e-05, allocations: 10.05 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.01174/0.01175, allocations: 5.583 MB / 274.1 MB, free: 412 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.01724, allocations: 1.709 MB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.01766, allocations: 43.69 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.01831, allocations: 245.5 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.01873, allocations: 245.3 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.02258, allocations: 0.5109 MB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.02377, allocations: 1.418 MB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005392/0.02431, allocations: 428.2 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.025, allocations: 0.7328 MB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.02535, allocations: 338.8 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.02548, allocations: 124 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.02567, allocations: 139.9 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.02584, allocations: 278.9 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.02626, allocations: 391 kB / 280.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008392/0.02709, allocations: 0.9415 MB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.0271, allocations: 0 / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0271, allocations: 0 / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.02711, allocations: 0 / 281.6 MB, free: 8.848 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.00141/0.02852, allocations: 1.403 MB / 283 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.02855, allocations: 8.922 kB / 283 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.02874, allocations: 191.9 kB / 283.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.0294, allocations: 0.5626 MB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.02945, allocations: 90.41 kB / 283.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.02954, allocations: 127.9 kB / 283.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.0303, allocations: 1.072 MB / 285 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.03033, allocations: 7.938 kB / 285 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.03037, allocations: 48 kB / 285.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.03039, allocations: 32 kB / 285.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.03075, allocations: 353.6 kB / 285.4 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09371/0.1245, allocations: 5.843 MB / 291.3 MB, free: 25.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1248, allocations: 169.3 kB / 291.4 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1249, allocations: 108.7 kB / 291.6 MB, free: 25.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.125, allocations: 10.8 kB / 291.6 MB, free: 25.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.125, allocations: 37.19 kB / 291.6 MB, free: 25.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.924e-06/0.125, allocations: 0 / 291.6 MB, free: 25.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.00103/0.126, allocations: 0.7093 MB / 292.3 MB, free: 25.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.1261, allocations: 81.86 kB / 292.4 MB, free: 25.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1265, allocations: 0.6202 MB / 293 MB, free: 25.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1265, allocations: 31.8 kB / 293 MB, free: 25.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.1267, allocations: 0.623 MB / 293.7 MB, free: 24.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.1268, allocations: 124.2 kB / 293.8 MB, free: 24.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1269, allocations: 149.4 kB / 293.9 MB, free: 24.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.1269, allocations: 397 kB / 294.3 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.127, allocations: 62.75 kB / 294.4 MB, free: 24.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1272, allocations: 481.8 kB / 294.9 MB, free: 24.07 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.0004471/0.1276, allocations: 0.6818 MB / 295.5 MB, free: 23.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1276, allocations: 4.469 kB / 295.5 MB, free: 23.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005332/0.1282, allocations: 0.5483 MB / 296.1 MB, free: 23.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1282, allocations: 11.03 kB / 296.1 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.1282, allocations: 15.06 kB / 296.1 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.1283, allocations: 71.03 kB / 296.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1286, allocations: 183.7 kB / 296.4 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009115/0.1295, allocations: 2.78 MB / 299.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1298, allocations: 30.23 kB / 299.2 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1298, allocations: 37 kB / 299.2 MB, free: 20.86 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,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.13, allocations: 178.1 kB / 299.4 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.13, allocations: 49.47 kB / 299.4 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.1301, allocations: 76.03 kB / 299.5 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1301, allocations: 4.078 kB / 299.5 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1301, allocations: 2.281 kB / 299.5 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1301, allocations: 5.25 kB / 299.5 MB, free: 20.7 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.0007488/0.1308, allocations: 0.71 MB / 300.2 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1308, allocations: 1.312 kB / 300.2 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.131, allocations: 71.06 kB / 300.3 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.1311, allocations: 51.84 kB / 300.3 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1311, allocations: 11.42 kB / 300.4 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000652/0.1318, allocations: 2.541 MB / 302.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1318, allocations: 1.344 kB / 302.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.132, allocations: 444.2 kB / 303.3 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1321, allocations: 70.92 kB / 303.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.1321, allocations: 7.422 kB / 303.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1322, allocations: 17.97 kB / 303.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1323, allocations: 29.14 kB / 303.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1323, allocations: 10.02 kB / 303.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1325, allocations: 272.6 kB / 303.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1325, allocations: 0 / 303.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005151/0.133, allocations: 157.8 kB / 303.9 MB, free: 17.59 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 7.671e-05/0.1331, allocations: 91.27 kB / 304 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.1335, allocations: 0.5394 MB / 304.5 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/0.1335, allocations: 17.78 kB / 304.5 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1337, allocations: 320.7 kB / 304.8 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.134, allocations: 76.53 kB / 304.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1357, allocations: 1.607 MB / 306.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.1358, allocations: 174.5 kB / 306.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.1359, allocations: 86.22 kB / 306.8 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.1361, allocations: 159.3 kB / 306.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1361, allocations: 0 / 306.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Templates: time 0.008583/0.1447, allocations: 5.653 MB / 312.6 MB, free: 14.1 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: 2.6164881819859147]