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.001348/0.001348, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001416/0.001416, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001569/0.001569, allocations: 56.02 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2198, allocations: 53.37 MB / 432.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007307/0.2271, allocations: 5.281 MB / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.2301, allocations: 1.698 MB / 439.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.2305, allocations: 43.69 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.2311, allocations: 253.5 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.2315, allocations: 213.8 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009817/0.2325, allocations: 0.5227 MB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.234, allocations: 1.391 MB / 441.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.2347, allocations: 451.2 kB / 442.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.2353, allocations: 494.1 kB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.2358, allocations: 0.505 MB / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.236, allocations: 120 kB / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.2363, allocations: 136 kB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.2365, allocations: 271.1 kB / 443.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.237, allocations: 489.4 kB / 444.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.2387, allocations: 1.645 MB / 445.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2387, allocations: 0 / 445.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2387, allocations: 0 / 445.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.2387, allocations: 0 / 445.8 MB, free: 9.328 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.002226/0.241, allocations: 1.428 MB / 447.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.241, allocations: 12.03 kB / 447.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.2414, allocations: 163 kB / 447.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2427, allocations: 0.6834 MB / 448.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.2428, allocations: 90.41 kB / 448.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.2429, allocations: 124 kB / 448.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.245, allocations: 1.314 MB / 449.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.2451, allocations: 11.94 kB / 449.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.2452, allocations: 56 kB / 449.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.2452, allocations: 32 kB / 449.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2466, allocations: 0.6851 MB / 450.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006099/0.2527, allocations: 6.298 MB / 456.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.2534, allocations: 249.2 kB / 457 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.2537, allocations: 165.6 kB / 457.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/0.2538, allocations: 11.94 kB / 457.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.2538, allocations: 38.56 kB / 457.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.2539, allocations: 0 / 457.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002504/0.2564, allocations: 1.271 MB / 458.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.2564, allocations: 85.11 kB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/0.2572, allocations: 0.684 MB / 459.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2572, allocations: 25.7 kB / 459.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/0.2578, allocations: 0.7133 MB / 459.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2579, allocations: 119 kB / 460.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.2581, allocations: 150.5 kB / 460.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.2583, allocations: 382.8 kB / 460.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.2586, allocations: 145.9 kB / 460.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.2592, allocations: 0.5433 MB / 461.3 MB, free: 8.953 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.001169/0.2604, allocations: 0.8066 MB / 462.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.2604, allocations: 7.938 kB / 462.1 MB, free: 7.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001366/0.2618, allocations: 0.7939 MB / 462.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2618, allocations: 8 kB / 462.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.2618, allocations: 16 kB / 462.9 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.2621, allocations: 86.36 kB / 463 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.2627, allocations: 183.7 kB / 463.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.2653, allocations: 3.068 MB / 466.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.2657, allocations: 36.12 kB / 466.3 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.2658, allocations: 44 kB / 466.3 MB, free: 3.496 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.0003776/0.2662, allocations: 265.5 kB / 466.6 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2663, allocations: 87.36 kB / 466.6 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2664, allocations: 70.34 kB / 466.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2664, allocations: 144 / 466.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.2664, allocations: 3.984 kB / 466.7 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.2665, allocations: 71.47 kB / 466.8 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.2666, allocations: 12 kB / 466.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.2669, allocations: 23.92 kB / 466.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.2669, allocations: 19.95 kB / 466.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001102/0.268, allocations: 0.507 MB / 467.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008619/0.2689, allocations: 0.6732 MB / 468 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002039/0.2691, allocations: 91.94 kB / 468.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005433/0.2697, allocations: 435 kB / 468.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.2697, allocations: 3.938 kB / 468.5 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.2711, allocations: 0.6466 MB / 469.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of SimCode: time 0.003346/0.2744, allocations: 2.385 MB / 471.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.01558/0.29, allocations: 7.299 MB / 478.9 MB, free: 6.93 MB / 382.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: 4.447507548997237]