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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.001009/0.001009, allocations: 186.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0687/0.06987, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.1396/0.2094, allocations: 5.951 MB / 381.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2121, allocations: 1.692 MB / 383.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006823/0.2128, allocations: 35.88 kB / 383.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.2134, allocations: 248 kB / 383.8 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.214, allocations: 221.5 kB / 384 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.215, allocations: 0.4947 MB / 384.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.2165, allocations: 1.403 MB / 385.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007443/0.2172, allocations: 0.6221 MB / 386.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.2177, allocations: 488.4 kB / 387 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.2181, allocations: 0.4909 MB / 387.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.2183, allocations: 123 kB / 387.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.2185, allocations: 134.3 kB / 387.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2187, allocations: 266.4 kB / 388 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.2191, allocations: 0.6065 MB / 388.6 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.2203, allocations: 1.618 MB / 390.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2203, allocations: 0 / 390.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2203, allocations: 0.8125 kB / 390.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.2204, allocations: 4 kB / 390.2 MB, free: 6.641 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.001774/0.2221, allocations: 1.46 MB / 391.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2222, allocations: 8.5 kB / 391.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2224, allocations: 147.3 kB / 391.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2234, allocations: 0.7534 MB / 392.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.2235, allocations: 87.34 kB / 392.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2236, allocations: 126.3 kB / 392.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.2253, allocations: 1.26 MB / 394 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.2254, allocations: 8.094 kB / 394 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.2255, allocations: 55 kB / 394.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.2255, allocations: 31.53 kB / 394.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.2267, allocations: 0.6909 MB / 394.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.2314, allocations: 6.774 MB / 401.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.2321, allocations: 263.6 kB / 401.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.2325, allocations: 190.3 kB / 402 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.2326, allocations: 87.92 kB / 402.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2326, allocations: 41.25 kB / 402.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.2326, allocations: 0 / 402.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002319/0.235, allocations: 1.404 MB / 403.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.235, allocations: 78.83 kB / 403.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.2357, allocations: 0.6594 MB / 404.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.2358, allocations: 30.83 kB / 404.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.2362, allocations: 0.6847 MB / 405 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/0.2363, allocations: 114.7 kB / 405.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2365, allocations: 151.8 kB / 405.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2366, allocations: 384.9 kB / 405.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.2369, allocations: 144.4 kB / 405.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.2375, allocations: 0.5514 MB / 406.3 MB, free: 10.71 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.001048/0.2385, allocations: 0.9541 MB / 407.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2385, allocations: 4.125 kB / 407.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001263/0.2398, allocations: 0.7953 MB / 408.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2398, allocations: 11.22 kB / 408.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.2399, allocations: 14.94 kB / 408.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.2401, allocations: 85.59 kB / 408.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.2407, allocations: 175.2 kB / 408.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.2431, allocations: 3.336 MB / 411.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.2436, allocations: 30.22 kB / 411.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.2436, allocations: 44.28 kB / 411.8 MB, free: 5.973 MB / 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.0003426/0.244, allocations: 273.2 kB / 412.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2441, allocations: 74.19 kB / 412.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.2442, allocations: 74.88 kB / 412.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2442, allocations: 1.031 kB / 412.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.2442, allocations: 5.219 kB / 412.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2444, allocations: 136.5 kB / 412.3 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.2444, allocations: 7.312 kB / 412.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.2447, allocations: 16.61 kB / 412.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.2448, allocations: 26.69 kB / 412.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001041/0.2458, allocations: 0.5075 MB / 412.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007849/0.2466, allocations: 0.6701 MB / 413.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001958/0.2468, allocations: 111.7 kB / 413.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004771/0.2473, allocations: 434.7 kB / 414.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.2473, allocations: 0 / 414.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.2486, allocations: 0.6681 MB / 414.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of SimCode: time 0.002709/0.2513, allocations: 2.339 MB / 417.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Templates: time 0.01233/0.2637, allocations: 6.066 MB / 423.2 MB, free: 14.77 MB / 350.1 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/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) Reference file matches