Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001244/0.001244, allocations: 110.5 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.00137/0.00137, allocations: 215.8 kB / 24.48 MB, free: 4.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.125 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 75.81 kB / 378.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2344, allocations: 53.3 MB / 432.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007699/0.2421, allocations: 6.066 MB / 438.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.2451, allocations: 1.741 MB / 439.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.2455, allocations: 35.81 kB / 439.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.2461, allocations: 249.6 kB / 440.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.2465, allocations: 221.7 kB / 440.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00097/0.2475, allocations: 0.5265 MB / 440.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.2489, allocations: 1.391 MB / 442.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.2496, allocations: 443.8 kB / 442.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.2502, allocations: 490.1 kB / 443.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.2508, allocations: 0.4973 MB / 443.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.2509, allocations: 124 kB / 443.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.2512, allocations: 140 kB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.2514, allocations: 259.1 kB / 444.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.2519, allocations: 0.6138 MB / 444.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.2536, allocations: 1.639 MB / 446.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2536, allocations: 0 / 446.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2536, allocations: 0 / 446.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2536, allocations: 0 / 446.5 MB, free: 8.871 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.002203/0.2558, allocations: 1.496 MB / 448 MB, free: 7.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2559, allocations: 8.031 kB / 448 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.2563, allocations: 171 kB / 448.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.2575, allocations: 0.775 MB / 448.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.2576, allocations: 90.41 kB / 449 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.2577, allocations: 124 kB / 449.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.2597, allocations: 1.26 MB / 450.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.2597, allocations: 7.875 kB / 450.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.95e-05/0.2598, allocations: 56 kB / 450.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.2598, allocations: 32 kB / 450.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.2612, allocations: 0.6852 MB / 451.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006289/0.2675, allocations: 6.802 MB / 458 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.2682, allocations: 249.2 kB / 458.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.2685, allocations: 168 kB / 458.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.2686, allocations: 85.11 kB / 458.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.2687, allocations: 42.48 kB / 458.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.374e-06/0.2687, allocations: 0 / 458.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002553/0.2712, allocations: 1.418 MB / 459.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.2713, allocations: 85.11 kB / 460 MB, free: 10.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.2721, allocations: 0.6687 MB / 460.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2721, allocations: 29.7 kB / 460.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/0.2726, allocations: 0.7093 MB / 461.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.2727, allocations: 123 kB / 461.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.2729, allocations: 142.6 kB / 461.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.2731, allocations: 382.8 kB / 462 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.2734, allocations: 145.9 kB / 462.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.274, allocations: 0.5546 MB / 462.7 MB, free: 7.578 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.00121/0.2752, allocations: 0.9537 MB / 463.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.2752, allocations: 4 kB / 463.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001327/0.2766, allocations: 0.8022 MB / 464.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2766, allocations: 12 kB / 464.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.2766, allocations: 12 kB / 464.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.2769, allocations: 77.69 kB / 464.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.2774, allocations: 188 kB / 464.8 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.2803, allocations: 3.333 MB / 468.1 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.2807, allocations: 28 kB / 468.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.2807, allocations: 40 kB / 468.2 MB, free: 1.617 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.0004142/0.2811, allocations: 273.4 kB / 468.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.2813, allocations: 75.53 kB / 468.5 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.2814, allocations: 74.34 kB / 468.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2814, allocations: 4.062 kB / 468.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2814, allocations: 4 kB / 468.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.2815, allocations: 144.6 kB / 468.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.2816, allocations: 8 kB / 468.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.2819, allocations: 12 kB / 468.8 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.2819, allocations: 31.89 kB / 468.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001049/0.283, allocations: 0.5093 MB / 469.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000845/0.2838, allocations: 0.677 MB / 470 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002002/0.284, allocations: 99.69 kB / 470.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005243/0.2846, allocations: 435 kB / 470.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of Backend: time 3.1e-07/0.2846, allocations: 0 / 470.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.286, allocations: 0.6594 MB / 471.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 0.003308/0.2893, allocations: 2.404 MB / 473.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01443/0.3037, allocations: 6.397 MB / 480 MB, free: 5.727 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.404568077996373]