Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.001189, allocations: 178.1 kB / 17.36 MB, free: 4.191 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008186/0.0008187, allocations: 102.5 kB / 272.1 MB, free: 8.102 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005823/0.2717, allocations: 5.141 MB / 381.7 MB, free: 41.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004005/0.2758, allocations: 1.999 MB / 383.7 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008495/0.2767, allocations: 27.38 kB / 383.8 MB, free: 39.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.2771, allocations: 183.9 kB / 383.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.2776, allocations: 176.2 kB / 384.1 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.2787, allocations: 436.4 kB / 384.5 MB, free: 39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.2801, allocations: 1.301 MB / 385.8 MB, free: 38.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.2809, allocations: 0.5412 MB / 386.4 MB, free: 37.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005552/0.2815, allocations: 374.3 kB / 386.7 MB, free: 37.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.2819, allocations: 408.8 kB / 387.1 MB, free: 37.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2821, allocations: 48.75 kB / 387.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.2823, allocations: 64.66 kB / 387.3 MB, free: 37.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.2825, allocations: 181.9 kB / 387.4 MB, free: 37.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.283, allocations: 0.5419 MB / 388 MB, free: 36.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.2841, allocations: 1.417 MB / 389.4 MB, free: 35.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2841, allocations: 0 / 389.4 MB, free: 35.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2841, allocations: 0 / 389.4 MB, free: 35.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.2842, allocations: 4 kB / 389.4 MB, free: 35.53 MB / 298.7 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.001591/0.2858, allocations: 1.236 MB / 390.6 MB, free: 34.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2858, allocations: 12.03 kB / 390.6 MB, free: 34.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.286, allocations: 138.3 kB / 390.8 MB, free: 34.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.2868, allocations: 0.716 MB / 391.5 MB, free: 33.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.2869, allocations: 86.41 kB / 391.6 MB, free: 33.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.287, allocations: 123.9 kB / 391.7 MB, free: 33.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.2887, allocations: 1.264 MB / 393 MB, free: 31.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.2887, allocations: 7.938 kB / 393 MB, free: 31.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.2888, allocations: 56 kB / 393 MB, free: 31.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2888, allocations: 32 kB / 393.1 MB, free: 31.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.2899, allocations: 0.689 MB / 393.8 MB, free: 30.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.294, allocations: 6.828 MB / 400.6 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.2946, allocations: 273.3 kB / 400.8 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.2949, allocations: 186 kB / 401 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.295, allocations: 89.09 kB / 401.1 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.295, allocations: 42.56 kB / 401.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.2951, allocations: 0 / 401.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001889/0.2969, allocations: 1.407 MB / 402.6 MB, free: 21.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.297, allocations: 81.11 kB / 402.6 MB, free: 21.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.2976, allocations: 0.6607 MB / 403.3 MB, free: 20.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2976, allocations: 29.7 kB / 403.3 MB, free: 20.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.2978, allocations: 0.672 MB / 404 MB, free: 20.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.2979, allocations: 126.3 kB / 404.1 MB, free: 19.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.2979, allocations: 16 kB / 404.1 MB, free: 19.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.298, allocations: 382.8 kB / 404.5 MB, free: 19.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.2983, allocations: 149.9 kB / 404.7 MB, free: 19.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.2986, allocations: 0.5546 MB / 405.2 MB, free: 18.68 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v ($START.directCapacitor1.currentToVoltage.y = $START.inverseCapacitor1.capacitor.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i ($START.directInductor3.currentToVoltage.y = $START.inverseInductor3.inductor.i) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/0.2996, allocations: 0.9567 MB / 406.2 MB, free: 17.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2996, allocations: 4 kB / 406.2 MB, free: 17.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001062/0.3007, allocations: 0.8029 MB / 407 MB, free: 16.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3007, allocations: 12 kB / 407 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3007, allocations: 16 kB / 407 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.301, allocations: 77.69 kB / 407.1 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.3015, allocations: 184.1 kB / 407.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.3034, allocations: 2.989 MB / 410.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.3038, allocations: 40.11 kB / 410.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.3038, allocations: 43.94 kB / 410.3 MB, free: 13.05 MB / 298.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i. 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.0004675/0.3043, allocations: 267.2 kB / 410.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3044, allocations: 75.06 kB / 410.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.3045, allocations: 74.36 kB / 410.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3045, allocations: 7.984 kB / 410.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3046, allocations: 4 kB / 410.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3046, allocations: 3.938 kB / 410.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.3061, allocations: 1.251 MB / 412 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3061, allocations: 0 / 412 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3064, allocations: 63.91 kB / 412.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.3065, allocations: 69.78 kB / 412.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3065, allocations: 8 kB / 412.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.3078, allocations: 2.772 MB / 414.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3078, allocations: 4.031 kB / 414.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.3085, allocations: 0.6529 MB / 415.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.3086, allocations: 144.2 kB / 415.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.3087, allocations: 8 kB / 415.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.3089, allocations: 19.98 kB / 415.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.309, allocations: 27.91 kB / 415.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.309, allocations: 8 kB / 415.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004056/0.3094, allocations: 431 kB / 416.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3094, allocations: 0 / 416.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008384/0.3103, allocations: 156 kB / 416.4 MB, free: 6.625 MB / 298.7 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.0001459/0.3104, allocations: 116.7 kB / 416.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00087/0.3113, allocations: 0.6537 MB / 417.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3113, allocations: 4 kB / 417.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.3117, allocations: 365.2 kB / 417.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.3123, allocations: 75.55 kB / 417.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.3151, allocations: 2.456 MB / 420 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.3155, allocations: 1.034 MB / 421 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.3157, allocations: 86.02 kB / 421.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.3158, allocations: 55.42 kB / 421.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.3158, allocations: 4 kB / 421.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of Templates: time 0.01037/0.3262, allocations: 5.129 MB / 426.3 MB, free: 12.55 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches