Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001943/0.001943, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.002357/0.002357, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 58.89 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2696, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005862/0.2755, allocations: 5.218 MB / 402.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.2791, allocations: 1.66 MB / 404.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009232/0.28, allocations: 41.91 kB / 404.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.2805, allocations: 258.1 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.2811, allocations: 223.9 kB / 405 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2821, allocations: 0.5015 MB / 405.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.2835, allocations: 1.384 MB / 406.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.2842, allocations: 421.9 kB / 407.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006622/0.2848, allocations: 493.5 kB / 407.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.2853, allocations: 435.5 kB / 408.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.2855, allocations: 121.6 kB / 408.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.2858, allocations: 140.4 kB / 408.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2859, allocations: 262.8 kB / 408.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.2863, allocations: 486.2 kB / 409.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.288, allocations: 1.645 MB / 410.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.288, allocations: 0 / 410.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.288, allocations: 0 / 410.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.615e-05/0.288, allocations: 4 kB / 410.8 MB, free: 1.207 MB / 318.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.002006/0.29, allocations: 1.417 MB / 412.3 MB, free: 140 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2901, allocations: 12.28 kB / 412.3 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.2903, allocations: 149.5 kB / 412.4 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.2916, allocations: 0.6826 MB / 413.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.2917, allocations: 87.59 kB / 413.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.2919, allocations: 117.7 kB / 413.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.294, allocations: 1.323 MB / 414.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.294, allocations: 6.344 kB / 414.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.2941, allocations: 54.41 kB / 414.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.2942, allocations: 31.91 kB / 414.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.2955, allocations: 0.681 MB / 415.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006586/0.3021, allocations: 6.294 MB / 421.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/0.3028, allocations: 244.8 kB / 421.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.3032, allocations: 165.4 kB / 422.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.813e-05/0.3032, allocations: 10.05 kB / 422.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3033, allocations: 38.88 kB / 422.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.3033, allocations: 0 / 422.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002589/0.3059, allocations: 1.268 MB / 423.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3059, allocations: 88.66 kB / 423.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/0.3068, allocations: 0.674 MB / 424.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3068, allocations: 34.98 kB / 424.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.3074, allocations: 0.7122 MB / 424.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3075, allocations: 123.4 kB / 425 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.3077, allocations: 137.9 kB / 425.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3079, allocations: 387.9 kB / 425.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.3082, allocations: 144 kB / 425.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.3088, allocations: 0.5501 MB / 426.2 MB, free: 4.473 MB / 334.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.001217/0.31, allocations: 0.8074 MB / 427 MB, free: 3.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.31, allocations: 4.25 kB / 427.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001364/0.3114, allocations: 0.7955 MB / 427.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3114, allocations: 12.81 kB / 427.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.3114, allocations: 14.12 kB / 427.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.3117, allocations: 81.62 kB / 428 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.3122, allocations: 183.7 kB / 428.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.3151, allocations: 3.065 MB / 431.2 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.3156, allocations: 33.97 kB / 431.2 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.3157, allocations: 40.06 kB / 431.3 MB, free: 152 kB / 334.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.0005799/0.3163, allocations: 269.5 kB / 431.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3164, allocations: 83.42 kB / 431.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.3165, allocations: 70.3 kB / 431.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3165, allocations: 4 kB / 431.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3166, allocations: 4 kB / 431.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3166, allocations: 4.062 kB / 431.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.3184, allocations: 1.063 MB / 432.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3184, allocations: 128 / 432.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.3187, allocations: 59.97 kB / 432.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.3189, allocations: 61.77 kB / 432.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3189, allocations: 15.94 kB / 432.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.3216, allocations: 2.789 MB / 435.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3216, allocations: 3.938 kB / 435.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3226, allocations: 0.6371 MB / 436.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3227, allocations: 71.47 kB / 436.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.3228, allocations: 8 kB / 436.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3231, allocations: 15.98 kB / 436.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.3231, allocations: 27.95 kB / 436.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3231, allocations: 4 kB / 436.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006112/0.3237, allocations: 439 kB / 436.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3237, allocations: 3.938 kB / 436.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3248, allocations: 156 kB / 437 MB, free: 10.08 MB / 350.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.0001412/0.3249, allocations: 103.2 kB / 437.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3261, allocations: 0.6371 MB / 437.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3261, allocations: 0 / 437.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.3266, allocations: 353.2 kB / 438.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.3272, allocations: 75.36 kB / 438.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.3308, allocations: 1.894 MB / 440.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.3313, allocations: 450.9 kB / 440.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.3314, allocations: 59.42 kB / 440.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3314, allocations: 3.938 kB / 440.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of Templates: time 0.02703/0.3585, allocations: 20.01 MB / 460.6 MB, free: 2.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.419998088851571]