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.001945/0.001945, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.00238/0.00238, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.454/1.454, allocations: 230.4 MB / 255.4 MB, free: 15 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.001912/0.001912, allocations: 68.03 kB / 374.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09438, allocations: 53.31 MB / 428.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.1814/0.2758, allocations: 6.034 MB / 434.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2783, allocations: 1.732 MB / 435.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.2788, allocations: 32.16 kB / 435.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.2792, allocations: 248.4 kB / 436.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.2796, allocations: 222.5 kB / 436.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.2804, allocations: 0.5197 MB / 436.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.2815, allocations: 1.385 MB / 438.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000582/0.2821, allocations: 446.9 kB / 438.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/0.2826, allocations: 488.7 kB / 439.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.283, allocations: 0.4889 MB / 439.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.2832, allocations: 124.8 kB / 439.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.2834, allocations: 139.8 kB / 439.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2836, allocations: 266.7 kB / 440.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.284, allocations: 0.6141 MB / 440.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.2855, allocations: 1.636 MB / 442.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2855, allocations: 4.688 kB / 442.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2856, allocations: 0 / 442.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.2856, allocations: 0 / 442.4 MB, free: 4.848 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.001925/0.2875, allocations: 1.5 MB / 443.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2875, allocations: 8.875 kB / 443.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.2879, allocations: 165.8 kB / 444.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.2891, allocations: 0.7744 MB / 444.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/0.2891, allocations: 86 kB / 444.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.2892, allocations: 122.4 kB / 445.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.291, allocations: 1.269 MB / 446.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.291, allocations: 7.562 kB / 446.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.2911, allocations: 58.98 kB / 446.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.2911, allocations: 32.56 kB / 446.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2924, allocations: 0.6873 MB / 447.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005849/0.2982, allocations: 6.8 MB / 453.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.2989, allocations: 254.1 kB / 454.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.2993, allocations: 158.6 kB / 454.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.2994, allocations: 83.52 kB / 454.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.2994, allocations: 41.22 kB / 454.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.2994, allocations: 4 kB / 454.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002604/0.302, allocations: 1.43 MB / 455.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.3021, allocations: 80.3 kB / 456 MB, free: 10.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.3029, allocations: 0.666 MB / 456.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.303, allocations: 30.8 kB / 456.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005383/0.3035, allocations: 0.7014 MB / 457.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.3036, allocations: 119.3 kB / 457.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.3038, allocations: 141 kB / 457.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.304, allocations: 388.5 kB / 458 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.3044, allocations: 147 kB / 458.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.305, allocations: 0.5492 MB / 458.7 MB, free: 8.754 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.001254/0.3063, allocations: 0.9493 MB / 459.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3063, allocations: 8.062 kB / 459.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001375/0.3076, allocations: 0.8014 MB / 460.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3077, allocations: 15.94 kB / 460.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.3077, allocations: 14.75 kB / 460.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.3079, allocations: 87.39 kB / 460.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.3085, allocations: 180.3 kB / 460.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.3113, allocations: 3.333 MB / 464.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.3118, allocations: 31.94 kB / 464.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.3119, allocations: 40.56 kB / 464.1 MB, free: 4.125 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.0004962/0.3124, allocations: 281.5 kB / 464.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3125, allocations: 76.39 kB / 464.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.3126, allocations: 74.12 kB / 464.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3126, allocations: 3.812 kB / 464.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.3126, allocations: 2.109 kB / 464.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3126, allocations: 2.297 kB / 464.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.3146, allocations: 1.249 MB / 465.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3146, allocations: 5.25 kB / 465.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.3149, allocations: 69.19 kB / 465.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.3151, allocations: 57.75 kB / 465.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3151, allocations: 8.406 kB / 465.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.3177, allocations: 3.055 MB / 469 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3177, allocations: 1.125 kB / 469 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009485/0.3186, allocations: 0.634 MB / 469.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.3188, allocations: 149.7 kB / 469.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.3188, allocations: 7.344 kB / 469.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.3191, allocations: 17.55 kB / 469.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.3192, allocations: 30.62 kB / 469.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3192, allocations: 7.594 kB / 469.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005628/0.3198, allocations: 439.3 kB / 470.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3198, allocations: 0 / 470.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3208, allocations: 156.1 kB / 470.4 MB, free: 15.04 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.0001492/0.321, allocations: 114.1 kB / 470.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.3221, allocations: 0.629 MB / 471.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3221, allocations: 0 / 471.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.3226, allocations: 350.2 kB / 471.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.3231, allocations: 90.11 kB / 471.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.3264, allocations: 1.893 MB / 473.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/0.3272, allocations: 1.034 MB / 474.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3273, allocations: 64.5 kB / 474.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3273, allocations: 0 / 474.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of Templates: time 0.02563/0.3529, allocations: 19.74 MB / 494.3 MB, free: 12.39 MB / 398.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: 8.501419395994162]