Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001273/0.001273, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001325/0.001325, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 254.8 MB, free: 15.08 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+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 51.92 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1028, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.1953/0.2981, allocations: 6.038 MB / 433.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3009, allocations: 1.732 MB / 434.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005895/0.3015, allocations: 42.5 kB / 434.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.302, allocations: 248 kB / 435.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.3024, allocations: 218.1 kB / 435.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008802/0.3033, allocations: 0.517 MB / 435.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.3044, allocations: 1.394 MB / 437.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.3049, allocations: 447.4 kB / 437.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.3055, allocations: 495.9 kB / 438.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.306, allocations: 0.4966 MB / 438.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.3061, allocations: 121.8 kB / 438.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.3064, allocations: 141.6 kB / 438.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3065, allocations: 266.4 kB / 439.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.3069, allocations: 0.6105 MB / 439.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.3086, allocations: 1.64 MB / 441.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3086, allocations: 3.812 kB / 441.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3086, allocations: 3.938 kB / 441.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3086, allocations: 1.969 kB / 441.4 MB, free: 4.598 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.001909/0.3105, allocations: 1.495 MB / 442.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3105, allocations: 10.44 kB / 442.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.126e-05/0.3106, allocations: 32 kB / 442.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.3107, allocations: 178.3 kB / 443.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.3111, allocations: 166.1 kB / 443.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3122, allocations: 0.7753 MB / 444.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.3122, allocations: 87.31 kB / 444.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.3124, allocations: 121.3 kB / 444.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.3141, allocations: 1.268 MB / 445.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.3142, allocations: 7.156 kB / 445.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.3142, allocations: 55.25 kB / 445.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.3143, allocations: 32.91 kB / 445.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3155, allocations: 0.6916 MB / 446.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006198/0.3217, allocations: 6.798 MB / 453.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.3224, allocations: 249.2 kB / 453.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.3228, allocations: 162 kB / 453.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.323, allocations: 84.41 kB / 453.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.323, allocations: 39.75 kB / 453.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.464e-06/0.323, allocations: 0 / 453.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002647/0.3256, allocations: 1.435 MB / 455.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3257, allocations: 81.16 kB / 455.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.3266, allocations: 0.6618 MB / 455.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.3266, allocations: 31.39 kB / 455.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.3271, allocations: 0.7018 MB / 456.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3272, allocations: 122.1 kB / 456.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3274, allocations: 144.5 kB / 456.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.3277, allocations: 384.9 kB / 457.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.3279, allocations: 151 kB / 457.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.3285, allocations: 0.5485 MB / 457.9 MB, free: 8.477 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.001267/0.3298, allocations: 0.9586 MB / 458.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3298, allocations: 8.312 kB / 458.8 MB, free: 7.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001373/0.3312, allocations: 0.7955 MB / 459.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3312, allocations: 15 kB / 459.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.3312, allocations: 13.75 kB / 459.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.3315, allocations: 81.23 kB / 459.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.332, allocations: 186.4 kB / 459.9 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.3348, allocations: 3.32 MB / 463.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.3353, allocations: 30.22 kB / 463.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.3353, allocations: 46.64 kB / 463.3 MB, free: 3.855 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.000535/0.3359, allocations: 276.8 kB / 463.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.336, allocations: 74.38 kB / 463.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.3361, allocations: 69.55 kB / 463.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3361, allocations: 4.125 kB / 463.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.3361, allocations: 1.375 kB / 463.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3362, allocations: 5.453 kB / 463.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.3382, allocations: 1.255 MB / 465 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3382, allocations: 4.688 kB / 465 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.3385, allocations: 72.36 kB / 465.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.3387, allocations: 53.94 kB / 465.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3387, allocations: 7.641 kB / 465.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.3412, allocations: 3.057 MB / 468.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3412, allocations: 1 kB / 468.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.3421, allocations: 0.6354 MB / 468.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3423, allocations: 146.9 kB / 469 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.3423, allocations: 7.344 kB / 469 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3426, allocations: 21.36 kB / 469 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.3426, allocations: 32.03 kB / 469 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3427, allocations: 6.969 kB / 469 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005507/0.3432, allocations: 439.9 kB / 469.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 0 / 469.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009383/0.3441, allocations: 156.2 kB / 469.6 MB, free: 14.81 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.001283/0.3454, allocations: 1.192 MB / 470.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.3466, allocations: 0.6223 MB / 471.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3466, allocations: 8.062 kB / 471.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.3471, allocations: 353.4 kB / 471.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.3476, allocations: 78.94 kB / 471.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.3564, allocations: 6.469 MB / 478.3 MB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.3571, allocations: 1.03 MB / 479.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.3573, allocations: 84.5 kB / 479.4 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/0.3578, allocations: 422.1 kB / 479.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3578, allocations: 0 / 479.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.4001, allocations: 12.89 MB / 492.8 MB, free: 12.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.01, allocations: 18.47 kB / 492.8 MB, free: 12.67 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.504684365005232]