Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 105.2 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 186.5 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2705, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006893/0.2775, allocations: 6.004 MB / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.2807, allocations: 1.648 MB / 409.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009255/0.2816, allocations: 27.88 kB / 409.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.2823, allocations: 245.6 kB / 409.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.2829, allocations: 233.7 kB / 409.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2839, allocations: 0.4915 MB / 410.1 MB, free: 216 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.2853, allocations: 1.403 MB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008085/0.2861, allocations: 0.6208 MB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005317/0.2867, allocations: 478.1 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.2872, allocations: 0.4972 MB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.2873, allocations: 120 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2876, allocations: 140 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.2878, allocations: 263.1 kB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.2883, allocations: 0.6139 MB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.2899, allocations: 1.626 MB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2899, allocations: 0 / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2899, allocations: 0 / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.743e-05/0.29, allocations: 0 / 415.8 MB, free: 10.43 MB / 334.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.002021/0.292, allocations: 1.496 MB / 417.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.292, allocations: 8.031 kB / 417.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.2922, allocations: 151 kB / 417.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.2933, allocations: 0.7633 MB / 418.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.2934, allocations: 90.41 kB / 418.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.2936, allocations: 120 kB / 418.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.2955, allocations: 1.264 MB / 419.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.2955, allocations: 7.938 kB / 419.7 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.2956, allocations: 52 kB / 419.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.2956, allocations: 32 kB / 419.8 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2969, allocations: 0.689 MB / 420.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/0.3032, allocations: 6.794 MB / 427.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.3039, allocations: 273.2 kB / 427.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.3042, allocations: 177.6 kB / 427.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.3044, allocations: 89.09 kB / 427.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3044, allocations: 34.56 kB / 427.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.965e-06/0.3044, allocations: 3.938 kB / 427.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002721/0.3072, allocations: 1.43 MB / 429.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3072, allocations: 81.11 kB / 429.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.308, allocations: 0.6647 MB / 430 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.308, allocations: 33.7 kB / 430 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.3085, allocations: 0.6937 MB / 430.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3086, allocations: 127 kB / 430.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.3088, allocations: 146.5 kB / 431 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.309, allocations: 386.8 kB / 431.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.3092, allocations: 145.9 kB / 431.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.3099, allocations: 0.5507 MB / 432.1 MB, free: 9.141 MB / 350.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.001116/0.311, allocations: 0.9611 MB / 433 MB, free: 7.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.311, allocations: 4 kB / 433 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001234/0.3123, allocations: 0.7903 MB / 433.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.3123, allocations: 12 kB / 433.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3123, allocations: 12 kB / 433.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.3126, allocations: 86.38 kB / 433.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.3131, allocations: 183.7 kB / 434.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.3159, allocations: 3.332 MB / 437.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.3164, allocations: 28 kB / 437.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.3164, allocations: 43.94 kB / 437.5 MB, free: 3.168 MB / 350.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.0004435/0.3169, allocations: 281.4 kB / 437.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.317, allocations: 79.48 kB / 437.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.3171, allocations: 74.41 kB / 437.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3171, allocations: 0 / 437.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3171, allocations: 0 / 437.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3173, allocations: 144.6 kB / 438.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.3173, allocations: 4 kB / 438.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.3176, allocations: 19.98 kB / 438.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.3177, allocations: 23.91 kB / 438.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000974/0.3186, allocations: 0.5112 MB / 438.6 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007709/0.3194, allocations: 0.6693 MB / 439.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001927/0.3196, allocations: 107.2 kB / 439.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.3201, allocations: 443 kB / 439.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Backend: time 4.4e-07/0.3201, allocations: 0 / 439.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3215, allocations: 0.6549 MB / 440.5 MB, free: 100 kB / 350.1 MB Notification: Performance of SimCode: time 0.002976/0.3245, allocations: 2.377 MB / 442.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01281/0.3373, allocations: 6.058 MB / 448.9 MB, free: 7.633 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches