Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 47.92 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2235, allocations: 53.36 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007734/0.2313, allocations: 6.063 MB / 438.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.2345, allocations: 1.741 MB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004857/0.235, allocations: 43.69 kB / 440.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.2355, allocations: 257.5 kB / 440.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.236, allocations: 217.7 kB / 440.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.2369, allocations: 0.5265 MB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.2385, allocations: 1.387 MB / 442.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.2392, allocations: 452.3 kB / 443.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.2398, allocations: 498.1 kB / 443.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005819/0.2404, allocations: 0.4933 MB / 444.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.2405, allocations: 128 kB / 444.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.2408, allocations: 144 kB / 444.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.241, allocations: 259 kB / 444.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005689/0.2415, allocations: 0.61 MB / 445.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.2433, allocations: 1.647 MB / 446.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2433, allocations: 0 / 446.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2433, allocations: 0 / 446.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.2433, allocations: 4 kB / 446.8 MB, free: 8.406 MB / 350.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.00209/0.2454, allocations: 1.417 MB / 448.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2454, allocations: 12.03 kB / 448.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.2458, allocations: 167 kB / 448.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.247, allocations: 0.6873 MB / 449.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.2471, allocations: 86.41 kB / 449.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.2472, allocations: 131.9 kB / 449.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.2492, allocations: 1.26 MB / 450.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.2492, allocations: 3.938 kB / 450.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.2493, allocations: 56 kB / 450.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.2494, allocations: 35.98 kB / 450.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2507, allocations: 0.689 MB / 451.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006217/0.2569, allocations: 6.68 MB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.2575, allocations: 252 kB / 458.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.2579, allocations: 157.7 kB / 458.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/0.258, allocations: 11.98 kB / 458.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.258, allocations: 34.56 kB / 458.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.764e-06/0.258, allocations: 0 / 458.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002329/0.2603, allocations: 1.279 MB / 459.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.2604, allocations: 85.05 kB / 459.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.2612, allocations: 0.6609 MB / 460.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2612, allocations: 37.64 kB / 460.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000526/0.2618, allocations: 0.7016 MB / 461.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.2619, allocations: 127 kB / 461.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.262, allocations: 142.6 kB / 461.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.2623, allocations: 386.8 kB / 461.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.2625, allocations: 145.9 kB / 462 MB, free: 8.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.2632, allocations: 0.5433 MB / 462.6 MB, free: 7.727 MB / 366.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.001109/0.2643, allocations: 0.8289 MB / 463.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2643, allocations: 4 kB / 463.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001305/0.2656, allocations: 0.7878 MB / 464.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2656, allocations: 12 kB / 464.2 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.2656, allocations: 16 kB / 464.2 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.2659, allocations: 93.61 kB / 464.3 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.2664, allocations: 184.2 kB / 464.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.2691, allocations: 3.113 MB / 467.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.2695, allocations: 32 kB / 467.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.2695, allocations: 47.98 kB / 467.7 MB, free: 2.176 MB / 366.1 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.0003823/0.2699, allocations: 273.5 kB / 468 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.27, allocations: 75.53 kB / 468 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.2701, allocations: 78.41 kB / 468.1 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2701, allocations: 4 kB / 468.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2701, allocations: 0 / 468.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2701, allocations: 3.984 kB / 468.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.272, allocations: 1.223 MB / 469.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.272, allocations: 0 / 469.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.2723, allocations: 63.95 kB / 469.4 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.2724, allocations: 57.62 kB / 469.5 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.2725, allocations: 8 kB / 469.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.2748, allocations: 2.846 MB / 472.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2748, allocations: 0 / 472.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.2757, allocations: 0.6365 MB / 473 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.2758, allocations: 63.48 kB / 473 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.2759, allocations: 8.062 kB / 473 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.2761, allocations: 15.98 kB / 473 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.2762, allocations: 31.83 kB / 473.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2762, allocations: 12 kB / 473.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005326/0.2767, allocations: 439 kB / 473.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2767, allocations: 4 kB / 473.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008839/0.2776, allocations: 156 kB / 473.7 MB, free: 11.86 MB / 382.1 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.0001362/0.2777, allocations: 99.25 kB / 473.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.2788, allocations: 0.655 MB / 474.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2788, allocations: 0 / 474.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.2793, allocations: 357.2 kB / 474.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.2798, allocations: 75.92 kB / 474.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.2828, allocations: 1.891 MB / 476.7 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.2835, allocations: 1.034 MB / 477.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2836, allocations: 63.42 kB / 477.8 MB, free: 7.566 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2836, allocations: 0 / 477.8 MB, free: 7.566 MB / 382.1 MB Notification: Performance of Templates: time 0.02356/0.3072, allocations: 19.73 MB / 497.6 MB, free: 3.824 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.924867233959958]