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.0007547/0.0007547, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001925, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007127/0.0007127, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009618/0.001675, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9251/0.9251, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1214/1.046, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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: 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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.65e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006742/0.006758, allocations: 5.703 MB / 250.4 MB, free: 8.473 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.009539, allocations: 1.795 MB / 252.2 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.01003, allocations: 43.69 kB / 252.3 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.01037, allocations: 253.4 kB / 252.5 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.01071, allocations: 249.3 kB / 252.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.01136, allocations: 0.5265 MB / 253.3 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.01221, allocations: 1.395 MB / 254.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.01264, allocations: 428.3 kB / 255.1 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.01326, allocations: 0.7685 MB / 255.9 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.01354, allocations: 346.7 kB / 256.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.01364, allocations: 120 kB / 256.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.01381, allocations: 144 kB / 256.5 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.01392, allocations: 211.2 kB / 256.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.01411, allocations: 335.2 kB / 257 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.01476, allocations: 0.8869 MB / 257.9 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.01477, allocations: 4 kB / 257.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01477, allocations: 0 / 257.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.01478, allocations: 0 / 257.9 MB, free: 0.9648 MB / 250.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.001248/0.01603, allocations: 1.661 MB / 259.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.01606, allocations: 11.98 kB / 259.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.01634, allocations: 280.9 kB / 259.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.01697, allocations: 0.582 MB / 260.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.01702, allocations: 90.41 kB / 260.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.01711, allocations: 123.9 kB / 260.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/0.01791, allocations: 1.076 MB / 261.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.01793, allocations: 7.938 kB / 261.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.01798, allocations: 52 kB / 261.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.018, allocations: 32 kB / 261.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.01834, allocations: 353.6 kB / 262.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.02126, allocations: 5.865 MB / 268 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.02158, allocations: 161 kB / 268.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.02173, allocations: 113.4 kB / 268.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/0.02179, allocations: 12 kB / 268.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.02181, allocations: 30.56 kB / 268.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.02182, allocations: 4 kB / 268.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009829/0.0228, allocations: 0.7199 MB / 269 MB, free: 5.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.02283, allocations: 81.11 kB / 269.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.0232, allocations: 0.6283 MB / 269.7 MB, free: 4.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.02321, allocations: 29.7 kB / 269.8 MB, free: 4.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.02344, allocations: 0.6129 MB / 270.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.0235, allocations: 123 kB / 270.5 MB, free: 3.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.0236, allocations: 154.5 kB / 270.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.02371, allocations: 398.5 kB / 271 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.02377, allocations: 57.97 kB / 271.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.024, allocations: 492.1 kB / 271.6 MB, free: 2.332 MB / 266.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: 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.0005161/0.02451, allocations: 0.7119 MB / 272.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.02452, allocations: 4 kB / 272.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004808/0.025, allocations: 0.5505 MB / 272.9 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.02502, allocations: 12 kB / 272.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.02503, allocations: 12 kB / 272.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.02518, allocations: 69.69 kB / 272.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.02552, allocations: 219.9 kB / 273.2 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.02689, allocations: 2.767 MB / 275.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.02709, allocations: 36 kB / 276 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.02712, allocations: 47.97 kB / 276 MB, free: 13.53 MB / 282.7 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,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.0273, allocations: 170.9 kB / 276.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.02736, allocations: 55.88 kB / 276.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.02743, allocations: 70.34 kB / 276.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.02743, allocations: 4 kB / 276.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.02744, allocations: 4 kB / 276.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02745, allocations: 3.938 kB / 276.3 MB, free: 13.21 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.02825, allocations: 0.7164 MB / 277 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.02826, allocations: 7.984 kB / 277 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.02846, allocations: 91.36 kB / 277.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.02851, allocations: 63.42 kB / 277.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-05/0.02861, allocations: 53.7 kB / 277.2 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.02862, allocations: 15.92 kB / 277.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.02972, allocations: 2.543 MB / 279.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02973, allocations: 0 / 279.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.03005, allocations: 451.2 kB / 280.2 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.03009, allocations: 12 kB / 280.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.0302, allocations: 11.98 kB / 280.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.03025, allocations: 27.89 kB / 280.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.03026, allocations: 11.94 kB / 280.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.03046, allocations: 276.5 kB / 280.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03046, allocations: 4 kB / 280.6 MB, free: 8.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005177/0.03098, allocations: 160 kB / 280.7 MB, free: 8.547 MB / 282.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.0001105/0.03109, allocations: 92.34 kB / 280.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.03156, allocations: 0.5509 MB / 281.4 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.492e-05/0.03158, allocations: 18.47 kB / 281.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.0318, allocations: 333.9 kB / 281.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.03231, allocations: 0.6706 MB / 282.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.03563, allocations: 1.814 MB / 284.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.03576, allocations: 198 kB / 284.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.03592, allocations: 86.12 kB / 284.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.0361, allocations: 167.3 kB / 284.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0361, allocations: 0 / 284.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of Templates: time 0.1038/0.1399, allocations: 5.807 MB / 290.4 MB, free: 29.46 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7430762965232134]